]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Edit step-86 CMakeLists.txt such that it recognizes dependency on P4EST 17447/head
authorEdward Terrell <terrell1@ad.unc.edu>
Wed, 7 Aug 2024 18:40:47 +0000 (14:40 -0400)
committerEdward Terrell <terrell1@ad.unc.edu>
Wed, 7 Aug 2024 18:40:47 +0000 (14:40 -0400)
examples/step-86/CMakeLists.txt

index 98ea77da11e4b44f2c998f0798e5007bd26e0253..12ce264f2f7703c5e51da84dd6475e271152d8eb 100644 (file)
@@ -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()

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.