From 26497437766f4a74e998c33787f61915df03bab1 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Thu, 30 Mar 2017 18:23:02 -0500 Subject: [PATCH] Examples: Require MPI for step-18 --- examples/step-18/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/step-18/CMakeLists.txt b/examples/step-18/CMakeLists.txt index be073fbdca..60f2d51a8b 100644 --- a/examples/step-18/CMakeLists.txt +++ b/examples/step-18/CMakeLists.txt @@ -38,9 +38,10 @@ ENDIF () # # Are all dependencies fulfilled? # -IF(NOT DEAL_II_WITH_PETSC OR DEAL_II_PETSC_WITH_COMPLEX) # keep in one line +IF(NOT DEAL_II_WITH_MPI OR NOT DEAL_II_WITH_PETSC OR DEAL_II_PETSC_WITH_COMPLEX) # keep in one line 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_PETSC = ON DEAL_II_PETSC_WITH_COMPLEX = OFF One or all of these are OFF in your installation but are required for this tutorial step." -- 2.39.5