From 701c88b3451cd8cb6e0d85aadd4cb6eddf97df7f Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Thu, 5 Nov 2015 09:12:33 -0500 Subject: [PATCH] step-45 requires MPI and Trilinos --- examples/step-45/CMakeLists.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/examples/step-45/CMakeLists.txt b/examples/step-45/CMakeLists.txt index 4ad8df9fad..8a525dda7a 100644 --- a/examples/step-45/CMakeLists.txt +++ b/examples/step-45/CMakeLists.txt @@ -34,6 +34,21 @@ IF(NOT ${deal.II_FOUND}) ) ENDIF() +# +# Are all dependencies fulfilled? +# +IF( NOT DEAL_II_WITH_MPI OR + NOT DEAL_II_WITH_P4EST OR + NOT DEAL_II_WITH_TRILINOS ) + MESSAGE(FATAL_ERROR " +Error! The deal.II library found at ${DEAL_II_PATH} was not configured with + DEAL_II_WITH_MPI = ON + DEAL_II_WITH_P4EST = ON + DEAL_II_WITH_TRILINOS = ON +One or all of these are OFF in your installation but are required for this tutorial step." + ) +ENDIF() + DEAL_II_INITIALIZE_CACHED_VARIABLES() PROJECT(${TARGET}) DEAL_II_INVOKE_AUTOPILOT() -- 2.39.5