From: Matthias Maier Date: Tue, 29 Nov 2022 17:11:49 +0000 (-0600) Subject: CMake: configure_20_boost.cmake: remove obsolete variable X-Git-Tag: v9.5.0-rc1~782^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91e8a0025f58361b2620615a8eda887cc3f7e2b1;p=dealii.git CMake: configure_20_boost.cmake: remove obsolete variable --- diff --git a/cmake/configure/configure_20_boost.cmake b/cmake/configure/configure_20_boost.cmake index 5513de65bf..5a50c5add2 100644 --- a/cmake/configure/configure_20_boost.cmake +++ b/cmake/configure/configure_20_boost.cmake @@ -148,15 +148,12 @@ endmacro() macro(feature_boost_configure_external) enable_if_supported(BOOST_CXX_FLAGS "-Wno-unused-local-typedefs") + # # At least BOOST 1.74 has the problem that some of the BOOST headers # include other BOOST headers that are deprecated, and this then leads to # warnings. That's rather annoying. - - # The configure function is called only once. In case an externally provided - # boost library is detected, BOOST_INCLUDE_DIRS contains the include paths to - # be used and BOOST_BUNDLED_INCLUDE_DIRS is empty. For the bundled library, it - # is the other way around. - list(APPEND CMAKE_REQUIRED_INCLUDES ${BOOST_INCLUDE_DIRS} ${BOOST_BUNDLED_INCLUDE_DIRS}) + # + list(APPEND CMAKE_REQUIRED_INCLUDES ${BOOST_INCLUDE_DIRS}) check_cxx_compiler_bug( "