]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Bugfix. Autodetection + no external boost will fail badly
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 22 Sep 2012 21:15:31 +0000 (21:15 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 22 Sep 2012 21:15:31 +0000 (21:15 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_cmake@26636 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/setup_finalize.cmake

index c10f32e9c37876732b6ab3bd0b40d31432ecdb0e..fc606ca01d5f5d43dd71dd6819bc1f5ea9898b5f 100644 (file)
@@ -5,14 +5,25 @@
 
 #
 # Dependency check:
-# DEAL_II_COMPONENT_DOCUMENTATION needs DEAL_II_WITH_DOXYGEN.
+#
+# - DEAL_II_COMPONENT_DOCUMENTATION needs DEAL_II_WITH_DOXYGEN.
+#
+# - DEAL_II_WITH_BOOST has to be enabled.
+#
 # TODO: It is a bit sloppy to test this here. But this is the only
 # dependency of this kind atm.
 #
 IF(DEAL_II_COMPONENT_DOCUMENTATION AND NOT DEAL_II_WITH_DOXYGEN)
   MESSAGE(SEND_ERROR "\n"
     "DEAL_II_COMPONENT_DOCUMENTATION has unmet configuration requirements: "
-    "DEAL_II_WITH_DOXYGEN has to be set to \"ON\".\n\n"
+    "DEAL_II_WITH_DOXYGEN required, but set to OFF!\n\n"
+    )
+ENDIF()
+
+IF(NOT DEAL_II_WITH_BOOST)
+  MESSAGE(SEND_ERROR "\n"
+    "Unmet configuration requirements: "
+    "DEAL_II_WITH_BOOST required, but set to OFF!.\n\n"
     )
 ENDIF()
 
@@ -37,7 +48,7 @@ ENDFOREACH()
 MESSAGE("
 
 *     *                                    *     *
-*     *  deal.II successfully configured!  *     *
+*     *       deal.II configuration:       *     *
 *     *                                    *     *
 
 

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.