]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: configure_20_boost.cmake: remove obsolete variable
authorMatthias Maier <tamiko@43-1.org>
Tue, 29 Nov 2022 17:11:49 +0000 (11:11 -0600)
committerMatthias Maier <tamiko@43-1.org>
Wed, 30 Nov 2022 14:02:13 +0000 (08:02 -0600)
cmake/configure/configure_20_boost.cmake

index 5513de65bf9a5f4b7f5a46a93d7243a225d4d611..5a50c5add240ef7206e1b3cce4533f35ba07030c 100644 (file)
@@ -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(
     "

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.