diff options
author | donb <donb@gcc20.fsffrance.org> | 2012-01-14 04:02:15 (GMT) |
---|---|---|
committer | donb <donb@gcc20.fsffrance.org> | 2012-01-14 04:02:15 (GMT) |
commit | 65a1c9cf6c8f1c69a6f9fbdc09faeb15b3dc6e4a (patch) | |
tree | e2542e3fa46d6e9faeacda39c03a84ac83272222 /tests/CMakeLists.txt | |
parent | 10701f71581bd4053ab328254d6abacd6956b498 (diff) |
add boosty.h for compatability with boost <1.44
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r-- | tests/CMakeLists.txt | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 9d5e24e..66958a8 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -125,10 +125,7 @@ if (NOT $ENV{BOOSTDIR} STREQUAL "") message(STATUS "BOOST_ROOT: " ${BOOST_ROOT}) endif() -find_package( Boost 1.44.0 COMPONENTS thread program_options filesystem system regex REQUIRED) -if ( ${Boost_VERSION} VERSION_LESS "104601" ) - add_definitions( -DBOOST_FILESYSTEM_VERSION=3 ) -endif() +find_package( Boost 1.42.0 COMPONENTS thread program_options filesystem system regex REQUIRED) message(STATUS "Boost includes found: " ${Boost_INCLUDE_DIRS}) message(STATUS "Boost libraries found:") foreach(boostlib ${Boost_LIBRARIES}) |