From: Edward Terrell Date: Wed, 7 Aug 2024 18:40:47 +0000 (-0400) Subject: Edit step-86 CMakeLists.txt such that it recognizes dependency on P4EST X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F17447%2Fhead;p=dealii.git Edit step-86 CMakeLists.txt such that it recognizes dependency on P4EST --- diff --git a/examples/step-86/CMakeLists.txt b/examples/step-86/CMakeLists.txt index 98ea77da11..12ce264f2f 100644 --- a/examples/step-86/CMakeLists.txt +++ b/examples/step-86/CMakeLists.txt @@ -37,14 +37,16 @@ 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_PETSC OR DEAL_II_PETSC_WITH_COMPLEX) OR (NOT DEAL_II_WITH_P4EST)) # 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_PETSC = ON DEAL_II_PETSC_WITH_COMPLEX = OFF + DEAL_II_WITH_P4EST = ON However, the deal.II library found at ${DEAL_II_PATH} was configured with these options: DEAL_II_WITH_PETSC = ${DEAL_II_WITH_PETSC} DEAL_II_PETSC_WITH_COMPLEX = ${DEAL_II_PETSC_WITH_COMPLEX} + DEAL_II_WITH_P4EST = ${DEAL_II_WITH_P4EST} This conflicts with the requirements." ) endif()