From cecdda768ddf86b1bb9a33cccb11e1096ef89179 Mon Sep 17 00:00:00 2001 From: Sophie Belloeil Date: Wed, 21 Jul 2010 13:12:17 +0000 Subject: [PATCH] Adding missing target_link_libraries & Boost_INCLUDE_DIRS --- equinox/src/CMakeLists.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/equinox/src/CMakeLists.txt b/equinox/src/CMakeLists.txt index 87b01bf5..898b9f16 100644 --- a/equinox/src/CMakeLists.txt +++ b/equinox/src/CMakeLists.txt @@ -5,6 +5,7 @@ ${EQUINOX_SOURCE_DIR}/src/intervalTree/src ${HURRICANE_INCLUDE_DIR} ${CORIOLIS_INCLUDE_DIR} + ${Boost_INCLUDE_DIRS} ) @@ -35,8 +36,12 @@ set ( intervalTreeCpps intervalTree/src/IntervalTree.cpp ) qt4_wrap_cpp ( mocCpps ${mocIncludes} ) + add_library ( intervalTree ${intervalTreeCpps} ) + target_link_libraries ( intervalTree ${HURRICANE_LIBRARIES} ) + add_library ( equinox ${cpps} ${mocCpps} ) - target_link_libraries ( equinox ${CORIOLIS_LIBRARIES} + target_link_libraries ( equinox intervalTree + ${CORIOLIS_LIBRARIES} ${HURRICANE_PYTHON_LIBRARIES} ${HURRICANE_GRAPHICAL_LIBRARIES} ${HURRICANE_LIBRARIES} @@ -50,7 +55,6 @@ ${LIBXML2_LIBRARIES} ${PYTHON_LIBRARIES} -lutil ) - add_library ( intervalTree ${intervalTreeCpps} ) install ( TARGETS equinox intervalTree DESTINATION lib${LIB_SUFFIX} ) install ( FILES ${includes}