]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add extra guard fo BOOST setup 5330/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Wed, 25 Oct 2017 19:53:10 +0000 (21:53 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Wed, 25 Oct 2017 19:53:10 +0000 (21:53 +0200)
cmake/configure/configure_boost.cmake

index 29ab0c1e5bb8a1ce5a8b5c2dacfd9ae085bf9e13..052b37b84acb7f02f3588c392fb75df35c9584c0 100644 (file)
 # Configuration for the boost library:
 #
 
+IF(NOT FEATURE_ZLIB_PROCESSED)                                     
+  MESSAGE(FATAL_ERROR "\n"
+    "Internal build system error: The configuration of "
+    "DEAL_II_WITH_BOOST depends on "
+    "DEAL_II_WITH_ZLIB, but CONFIGURE_FEATURE(BOOST) "
+    "was called before CONFIGURE_FEATURE(ZLIB).\n\n"
+    )
+ENDIF()
+
+
 SET(DEAL_II_WITH_BOOST ON # Always true. We need it :-]
   CACHE BOOL "Build deal.II with support for boost." FORCE
   )

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.