summaryrefslogtreecommitdiff
path: root/tests/CMakeLists.txt
diff options
context:
space:
mode:
authordonb <donb@gcc20.fsffrance.org>2012-01-14 04:02:15 (GMT)
committerdonb <donb@gcc20.fsffrance.org>2012-01-14 04:02:15 (GMT)
commit65a1c9cf6c8f1c69a6f9fbdc09faeb15b3dc6e4a (patch)
treee2542e3fa46d6e9faeacda39c03a84ac83272222 /tests/CMakeLists.txt
parent10701f71581bd4053ab328254d6abacd6956b498 (diff)
add boosty.h for compatability with boost <1.44
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r--tests/CMakeLists.txt5
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})
contact: Jan Huwald // Impressum