From bbc688a41cd55d1cdc95f2db944f0d140e88d970 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Wed, 24 Jun 2020 13:58:30 -0400 Subject: [PATCH] Require UMFPACK for step-52 --- examples/step-52/CMakeLists.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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() -- 2.39.5