From 91e8a0025f58361b2620615a8eda887cc3f7e2b1 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Tue, 29 Nov 2022 11:11:49 -0600 Subject: [PATCH] CMake: configure_20_boost.cmake: remove obsolete variable --- cmake/configure/configure_20_boost.cmake | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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( " -- 2.39.5