From 7752a5aaa86e3235a621431cd03f9b4657cd8a19 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Fri, 2 Dec 2022 21:39:10 -0600 Subject: [PATCH] CMake: do not export BOOST_CXX_FLAGS --- cmake/configure/configure_20_boost.cmake | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cmake/configure/configure_20_boost.cmake b/cmake/configure/configure_20_boost.cmake index 5a50c5add2..a4acd21d36 100644 --- a/cmake/configure/configure_20_boost.cmake +++ b/cmake/configure/configure_20_boost.cmake @@ -146,7 +146,10 @@ endmacro() macro(feature_boost_configure_external) - enable_if_supported(BOOST_CXX_FLAGS "-Wno-unused-local-typedefs") + # + # Avoid a number of warnings: + # + enable_if_supported(DEAL_II_CXX_FLAGS "-Wno-unused-local-typedefs") # # At least BOOST 1.74 has the problem that some of the BOOST headers -- 2.39.5