From b3900846015a4e597b84f85ffde75d291f1b4101 Mon Sep 17 00:00:00 2001 From: David Wells Date: Thu, 19 May 2022 13:06:12 -0400 Subject: [PATCH] Add a comment describing our boost definitions. --- cmake/configure/configure_2_boost.cmake | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cmake/configure/configure_2_boost.cmake b/cmake/configure/configure_2_boost.cmake index b61c7a64d5..c2b75b4529 100644 --- a/cmake/configure/configure_2_boost.cmake +++ b/cmake/configure/configure_2_boost.cmake @@ -68,7 +68,12 @@ MACRO(FEATURE_BOOST_CONFIGURE_COMMON) RESET_CMAKE_REQUIRED() - IF( NOT DEAL_II_HAS_AUTO_PTR ) + # Fix some problems by defining some additional preprocessor + # symbols. Ultimately these are added into DEAL_II_DEFINITIONS and + # DEAL_II_USER_DEFINITIONS. They are separate here so that they show up in + # detailed.log under DEAL_II_WITH_BOOST as, logically, they are part of our + # boost configuration. + IF(NOT DEAL_II_HAS_AUTO_PTR) LIST(APPEND BOOST_DEFINITIONS "BOOST_NO_AUTO_PTR") LIST(APPEND BOOST_USER_DEFINITIONS "BOOST_NO_AUTO_PTR") ENDIF() -- 2.39.5