From 1e1c921897aca6a5e1d050a0d096649e645f7a73 Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Thu, 1 Jul 2010 11:50:26 +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. --- equinox/src/CMakeLists.txt | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/equinox/src/CMakeLists.txt b/equinox/src/CMakeLists.txt index acce494c..0a454d4a 100644 --- a/equinox/src/CMakeLists.txt +++ b/equinox/src/CMakeLists.txt @@ -36,17 +36,7 @@ qt4_wrap_cpp ( mocCpps ${mocIncludes} ) add_library ( equinox ${cpps} ${mocCpps} ) - target_link_libraries ( equinox intervalTree - ${CORIOLIS_LIBRARIES} - ${HURRICANE_LIBRARIES} - ${HURRICANE_GRAPHICAL_LIBRARIES} - ${QT_LIBRARIES} - ${LEFDEF_LIBRARIES} - ${OA_LIBRARIES} - ) add_library (intervalTree ${intervalTreeCpps} ) - target_link_libraries (intervalTree ${CORIOLIS_LIBRARIES} - ${HURRICANE_LIBRARIES} ) install ( TARGETS equinox intervalTree DESTINATION lib${LIB_SUFFIX} ) install ( FILES ${includes} ${mocIncludes}