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

index acf8b260fe61d6b8d3ce8e42a1e646cff53ae815..f71a07ab8dd3d9dca0836dcce0dd62e0f1572e53 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.