From: Daniel Arndt Date: Wed, 24 Jun 2020 17:58:30 +0000 (-0400) Subject: Require UMFPACK for step-52 X-Git-Tag: v9.3.0-rc1~1378^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F10596%2Fhead;p=dealii.git Require UMFPACK for step-52 --- diff --git a/examples/step-52/CMakeLists.txt b/examples/step-52/CMakeLists.txt index cfd40bcede..26bea23ef1 100644 --- a/examples/step-52/CMakeLists.txt +++ b/examples/step-52/CMakeLists.txt @@ -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()