diff --git a/pnmc/CMakeLists.txt b/pnmc/CMakeLists.txt index d7c0815..abddd9c 100644 --- a/pnmc/CMakeLists.txt +++ b/pnmc/CMakeLists.txt @@ -13,5 +13,5 @@ set(SOURCES ) add_executable(pnmc ${SOURCES}) -target_link_libraries(pnmc ${Boost_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} ${ZLIB_LIBRARIES} shared) +target_link_libraries(pnmc shared ${Boost_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} ${ZLIB_LIBRARIES}) install(TARGETS pnmc DESTINATION bin) diff --git a/translator/CMakeLists.txt b/translator/CMakeLists.txt index 9eb846e..282e556 100644 --- a/translator/CMakeLists.txt +++ b/translator/CMakeLists.txt @@ -7,4 +7,4 @@ set(SOURCES ) add_executable(translator ${SOURCES}) -target_link_libraries(translator ${Boost_LIBRARIES} ${ZLIB_LIBRARIES} shared) +target_link_libraries(translator shared ${Boost_LIBRARIES} ${ZLIB_LIBRARIES})