]> Creatis software - crea.git/commitdiff
2299 crea Bug New Urgent Conflict with Boost (-mt not found) in fedora 20
authordavila <eduardo.davila@creatis.insa-lyon.fr>
Sat, 8 Feb 2014 08:58:26 +0000 (09:58 +0100)
committerdavila <eduardo.davila@creatis.insa-lyon.fr>
Sat, 8 Feb 2014 08:58:26 +0000 (09:58 +0100)
cmake/CREAMacro_FindAndUseLibraries.cmake

index 49ff5bf3086b2678ca11c579a075ca9fc6755b69..a80df2960eb90dac7cc74696da3d9c57871ddb5f 100644 (file)
@@ -311,7 +311,7 @@ IF(USE_BOOST)
   IF(NOT Boost_FOUND)
        add_definitions( -DBOOST_ALL_NO_LIB )
        add_definitions( -DBOOST_ALL_DYN_LINK )
-    FIND_PACKAGE(Boost COMPONENTS filesystem system signals date_time regex REQUIRED)
+    FIND_PACKAGE(Boost COMPONENTS filesystem system signals date_time thread regex program_options REQUIRED)
     IF(Boost_FOUND) 
          ADD_DEFINITIONS(-DBOOST_FILESYSTEM_VERSION=3)
       MESSAGE ( STATUS "=======================================")
@@ -348,9 +348,10 @@ IF(USE_BOOST)
                  SET(BOOST_LIBRARIES
 
                         ${Boost_LIBRARIES}
-                       boost_system-mt
-                       boost_thread-mt     
-                       boost_program_options-mt
+#EED 10 Fev 2014
+#EED                   boost_system-mt
+#EED                   boost_thread-mt     
+#EED                   boost_program_options-mt
 
 #EED 03 mars 2011
 #EED                   boost_signals-mt