]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Restrict boost test to DEAL_II_ALLOW_PLATFORM_INTROSPECTION 5572/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Mon, 11 Dec 2017 16:49:34 +0000 (17:49 +0100)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Mon, 11 Dec 2017 16:49:34 +0000 (17:49 +0100)
cmake/configure/configure_boost.cmake

index e44393031e6f3195678d3943e5897e3dae7256d6..b72ca3c97d7008e3f220350fa6533c595839e575 100644 (file)
@@ -136,7 +136,7 @@ MACRO(FEATURE_BOOST_FIND_EXTERNAL var)
       RESET_CMAKE_REQUIRED()
     ENDIF()
 
-    IF(${var})
+    IF(${var} AND DEAL_II_ALLOW_PLATFORM_INTROSPECTION)
       # We want to pass the libraries to the CMake project that tests for the
       # BOOST Serialization bug. If we don't change the separator, only the
       # first one is passed. This change in the separator is reverted in

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.