From: David Wells Date: Thu, 19 May 2022 17:06:12 +0000 (-0400) Subject: Add a comment describing our boost definitions. X-Git-Tag: v9.4.0-rc1~197^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F13758%2Fhead;p=dealii.git Add a comment describing our boost definitions. --- 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()