]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add a comment describing our boost definitions. 13758/head
authorDavid Wells <drwells@email.unc.edu>
Thu, 19 May 2022 17:06:12 +0000 (13:06 -0400)
committerDavid Wells <drwells@email.unc.edu>
Thu, 19 May 2022 19:27:40 +0000 (15:27 -0400)
cmake/configure/configure_2_boost.cmake

index b61c7a64d5a54dc3ff388bf9f74ad343e9c6dc57..c2b75b452954c15ad16a1d40c9c32ffd6b3892c0 100644 (file)
@@ -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()

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.