]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Bugfix
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 23 Oct 2012 23:18:21 +0000 (23:18 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 23 Oct 2012 23:18:21 +0000 (23:18 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_cmake@27189 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-34/CMakeLists.txt

index d981357a3bdb1daa81be4352910a9eeed3702b8a..90b8092cc111692c329f8f22959b776fe8fbd6ef 100644 (file)
@@ -42,6 +42,17 @@ FIND_PACKAGE(deal.II 8.0 REQUIRED
   # "$ENV{HOME}/workspace/deal.II"
   )
 
+#
+# Are all dependencies fullfilled?
+#
+IF(NOT DEAL_II_WITH_FUNCTIONPARSER)
+  MESSAGE(FATAL_ERROR "
+Error! The deal.II library found at ${DEAL_II_PATH} was not configured with
+    DEAL_II_WITH_FUNCTIONPARSER = ON
+which is required for this tutorial step."
+    )
+ENDIF()
+
 DEAL_II_INITIALIZE_CACHED_VARIABLES()
 PROJECT(${TARGET})
 DEAL_II_INVOKE_AUTOPILOT()

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.