From dcdd34ac2dbdf62714fbc78b1824866ba0460d6f Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Tue, 9 Oct 2018 15:30:12 +0200 Subject: [PATCH] Restrict examples that require a working FunctionParser class --- examples/step-33/CMakeLists.txt | 4 +++- examples/step-60/CMakeLists.txt | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/examples/step-33/CMakeLists.txt b/examples/step-33/CMakeLists.txt index a00a050041..3f055754f9 100644 --- a/examples/step-33/CMakeLists.txt +++ b/examples/step-33/CMakeLists.txt @@ -40,11 +40,13 @@ ENDIF() # # Are all dependencies fulfilled? # -IF(NOT DEAL_II_TRILINOS_WITH_SACADO) # keep in one line +IF(NOT DEAL_II_TRILINOS_WITH_SACADO OR NOT DEAL_II_WITH_MUPARSER) # 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_MUPARSER = ON DEAL_II_TRILINOS_WITH_SACADO = ON However, the deal.II library found at ${DEAL_II_PATH} was configured with these options + DEAL_II_WITH_MUPARSER = ${DEAL_II_WITH_MUPARSER} DEAL_II_TRILINOS_WITH_SACADO = ${DEAL_II_TRILINOS_WITH_SACADO} which conflict with the requirements." ) diff --git a/examples/step-60/CMakeLists.txt b/examples/step-60/CMakeLists.txt index 99bfe40e4d..b76c254ae9 100644 --- a/examples/step-60/CMakeLists.txt +++ b/examples/step-60/CMakeLists.txt @@ -37,11 +37,13 @@ ENDIF() # # Are all dependencies fulfilled? # -IF(NOT DEAL_II_WITH_UMFPACK) # keep in one line +IF(NOT DEAL_II_WITH_UMFPACK OR NOT DEAL_II_WITH_MUPARSER) # 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_MUPARSER = ON DEAL_II_WITH_UMFPACK = ON However, the deal.II library found at ${DEAL_II_PATH} was configured with these options + DEAL_II_WITH_MUPARSER = ${DEAL_II_WITH_MUPARSER} DEAL_II_WITH_UMFPACK = ${DEAL_II_WITH_UMFPACK} which conflict with the requirements." ) -- 2.39.5