From: Matthias Maier Date: Thu, 30 Mar 2017 23:23:02 +0000 (-0500) Subject: Examples: Require MPI for step-18 X-Git-Tag: v9.0.0-rc1~1761^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F4160%2Fhead;p=dealii.git Examples: Require MPI for step-18 --- diff --git a/examples/step-18/CMakeLists.txt b/examples/step-18/CMakeLists.txt index 24d76aa4a1..8413167a4d 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."