From 51afaa0a54636bfa9297b432046baacff84152ee Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Sat, 16 Feb 2013 15:36:02 +0100 Subject: [PATCH] bug #1917 Normal Not compiling with boost 1.52 windows creaBruker --- cmake/CREAMacro_FindAndUseLibraries.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/CREAMacro_FindAndUseLibraries.cmake b/cmake/CREAMacro_FindAndUseLibraries.cmake index 6d9e416..49ff5bf 100644 --- a/cmake/CREAMacro_FindAndUseLibraries.cmake +++ b/cmake/CREAMacro_FindAndUseLibraries.cmake @@ -312,7 +312,8 @@ IF(USE_BOOST) add_definitions( -DBOOST_ALL_NO_LIB ) add_definitions( -DBOOST_ALL_DYN_LINK ) FIND_PACKAGE(Boost COMPONENTS filesystem system signals date_time regex REQUIRED) - IF(Boost_FOUND) + IF(Boost_FOUND) + ADD_DEFINITIONS(-DBOOST_FILESYSTEM_VERSION=3) MESSAGE ( STATUS "=======================================") MESSAGE ( STATUS "Looking for boost C++ library... - found in ${Boost_INCLUDE_DIR}") INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS}) -- 2.47.1