From c18828323022859143eba6faa3d38f4737d1631e Mon Sep 17 00:00:00 2001 From: Alexandre Hamez Date: Fri, 7 Nov 2014 18:28:57 +0100 Subject: [PATCH] Link on linux --- pnmc/CMakeLists.txt | 2 +- translator/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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})