]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: simplify check 6335/head
authorMatthias Maier <tamiko@43-1.org>
Wed, 25 Apr 2018 20:44:52 +0000 (15:44 -0500)
committerMatthias Maier <tamiko@43-1.org>
Thu, 26 Apr 2018 13:56:50 +0000 (08:56 -0500)
cmake/configure/configure_adolc.cmake

index 1fd012f48b8776496b127eba9edaf12b512e2262..15780b798f6f0d02334223b5c13c42c2445f7183 100644 (file)
 # Configuration for the ADOL-C library:
 #
 
-IF(NOT FEATURE_BOOST_PROCESSED)
-  MESSAGE(FATAL_ERROR "\n"
-    "Internal build system error: The configuration of "
-    "DEAL_II_WITH_ADOLC depends on "
-    "DEAL_II_WITH_BOOST, but CONFIGURE_FEATURE(ADOLC) "
-    "was called before CONFIGURE_FEATURE(BOOST).\n\n"
-    )
-ENDIF()
+SET(FEATURE_ADOLC_AFTER BOOST)
 
 MACRO(FEATURE_ADOLC_FIND_EXTERNAL var)
   FIND_PACKAGE(ADOLC)

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.