]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Require UMFPACK for step-52 10596/head
authorDaniel Arndt <arndtd@ornl.gov>
Wed, 24 Jun 2020 17:58:30 +0000 (13:58 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Wed, 24 Jun 2020 17:58:30 +0000 (13:58 -0400)
examples/step-52/CMakeLists.txt

index cfd40bcede9c1b007ea99a2940c4b5c9287d9b0e..26bea23ef1fef94de08d241825a09f2ac76d49b7 100644 (file)
@@ -37,6 +37,19 @@ IF(NOT ${deal.II_FOUND})
     )
 ENDIF()
 
+#
+# Are all dependencies fulfilled?
+#
+IF(NOT DEAL_II_WITH_UMFPACK) # keep in one line
+  MESSAGE(FATAL_ERROR "
+Error! This tutorial requires a deal.II library that was configured with the following options:
+    DEAL_II_WITH_UMFPACK = ON
+However, the deal.II library found at ${DEAL_II_PATH} was configured with these options
+    DEAL_II_WITH_UMFPACK = ${DEAL_II_WITH_UMFPACK}
+which conflict with the requirements."
+    )
+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.