From 8c5e4f6c97234911eff188bca8c728fcf62e5dd7 Mon Sep 17 00:00:00 2001 From: Dominik Thoennes <dominik.thoennes@fau.de> Date: Tue, 22 Oct 2019 10:21:47 +0200 Subject: [PATCH] add Boost 1.71 as supported version --- CMakeLists.txt | 7 ------- cmake/FindBoost.cmake | 4 ++-- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5d4e3c27..7930107e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -651,13 +651,6 @@ if ( WALBERLA_BUILD_WITH_PYTHON AND WALBERLA_CXX_COMPILER_IS_MSVC ) list( APPEND waLBerla_REQUIRED_BOOST_COMPONENTS ${PYTHON_REQUIRED_LIB} ) endif() -# This variable is necessary, if the CMAKE version used is not aware of a more recent boost version (keep this up to date!) -set ( Boost_ADDITIONAL_VERSIONS - "1.45" "1.45.0" "1.46" "1.46.0" "1.46.1" "1.47" "1.47.0" "1.48" "1.48.0" "1.49" "1.49.0" - "1.50" "1.50.0" "1.51" "1.51.0" "1.52" "1.52.0" "1.53" "1.53.0" "1.54" "1.54.0" "1.55" "1.55.0" - "1.56" "1.56.0" "1.57" "1.57.0" "1.58" "1.58.0" "1.59" "1.59.0" "1.60" "1.60.0" "1.61" "1.61.0" "1.62" "1.62.0" "1.63" "1.63.0" - "1.64.0" "1.65.0" "1.65.1" "1.66.0" "1.67.0" "1.68.0" "1.69.0" "1.70.0" ) - set ( Boost_USE_STATIC_LIBS OFF CACHE BOOL "Use boost static libraries" ) set ( Boost_USE_MULTITHREADED OFF CACHE BOOL "Use boost multithreaded libraries" ) set ( Boost_USE_STATIC_RUNTIME OFF CACHE BOOL "Use boost libraries statically linked to runtime libs" ) diff --git a/cmake/FindBoost.cmake b/cmake/FindBoost.cmake index 6e7d3dbf..5e524883 100644 --- a/cmake/FindBoost.cmake +++ b/cmake/FindBoost.cmake @@ -892,7 +892,7 @@ function(_Boost_COMPONENT_DEPENDENCIES component _ret) set(_Boost_WAVE_DEPENDENCIES filesystem serialization thread chrono date_time atomic) set(_Boost_WSERIALIZATION_DEPENDENCIES serialization) endif() - if(NOT Boost_VERSION VERSION_LESS 107100) + if(NOT Boost_VERSION VERSION_LESS 107200) message(WARNING "New Boost version may have incorrect or missing dependencies and imported targets") endif() endif() @@ -1140,7 +1140,7 @@ else() # _Boost_COMPONENT_HEADERS. See the instructions at the top of # _Boost_COMPONENT_DEPENDENCIES. set(_Boost_KNOWN_VERSIONS ${Boost_ADDITIONAL_VERSIONS} - "1.70.0" "1.70" "1.69.0" "1.69" + "1.71.0" "1.70.0" "1.70" "1.69.0" "1.69" "1.68.0" "1.68" "1.67.0" "1.67" "1.66.0" "1.66" "1.65.1" "1.65.0" "1.65" "1.64.0" "1.64" "1.63.0" "1.63" "1.62.0" "1.62" "1.61.0" "1.61" "1.60.0" "1.60" "1.59.0" "1.59" "1.58.0" "1.58" "1.57.0" "1.57" "1.56.0" "1.56" "1.55.0" "1.55" -- GitLab