From 7c549ffe88c31a4d2be53bed7b9ab6f82804c0a7 Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Thu, 1 Jul 2010 11:50:01 +0000 Subject: [PATCH] * All tools: - Library linking: there must not be "target_link_library()" for libraries, only when building binaries. Avoid clashes between static module or class variables, and strange reinitialisation of those variables. - Change: Boost is now always linked staticly. --- knik/src/CMakeLists.txt | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/knik/src/CMakeLists.txt b/knik/src/CMakeLists.txt index bb9e6de1..709da056 100644 --- a/knik/src/CMakeLists.txt +++ b/knik/src/CMakeLists.txt @@ -42,17 +42,7 @@ add_library ( knik ${cpps} ${mocCpps} ) - target_link_libraries ( knik flute - ${CORIOLIS_LIBRARIES} - ${HURRICANE_LIBRARIES} - ${HURRICANE_GRAPHICAL_LIBRARIES} - ${QT_LIBRARIES} - ${LEFDEF_LIBRARIES} - ${OA_LIBRARIES} - ) add_library ( flute ${fluteCpps} ) - target_link_libraries ( flute ${CORIOLIS_LIBRARIES} - ${HURRICANE_LIBRARIES} ) install ( TARGETS knik flute DESTINATION lib${LIB_SUFFIX} ) install ( FILES ${includes}