]> Creatis software - crea.git/commitdiff
DFCH: boost 1.49 requires: add_definitions(-DBOOST_TT_HAS_OPERATOR_HPP_INCLUDED)...
authorDiego Caceres <Diego.Caceres@creatis.insa-lyon.fr>
Thu, 5 Jul 2012 12:29:45 +0000 (12:29 +0000)
committerDiego Caceres <Diego.Caceres@creatis.insa-lyon.fr>
Thu, 5 Jul 2012 12:29:45 +0000 (12:29 +0000)
cmake/CREAMacro_FindAndUseLibraries.cmake

index cff4b656c931d6873bde7575383f41c5d3342b91..ab516d69eb8ee5b234ca45ff4e8e0b5c362c2977 100644 (file)
@@ -293,10 +293,10 @@ IF(USE_BOOST)
       MESSAGE ( STATUS "=======================================")
       MESSAGE ( STATUS "Looking for boost C++ library... - found in ${Boost_INCLUDE_DIR}")
       INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS})        
-                       LINK_DIRECTORIES( ${Boost_LIBRARY_DIRS}) 
+                       LINK_DIRECTORIES( ${Boost_LIBRARY_DIRS})
          IF(WIN32)
                CREA_DEFINE( USE_BOOST )
-               
+               ADD_DEFINITIONS(-DBOOST_TT_HAS_OPERATOR_HPP_INCLUDED)
                SET(BOOST_LIBRARIES
                        ${Boost_LIBRARIES}
                        )