Skip to content

Commit

Permalink
Merge pull request dealii#17360 from marcfehling/dependency
Browse files Browse the repository at this point in the history
Fix some dependencies.
  • Loading branch information
marcfehling authored Jul 23, 2024
2 parents d7b86fa + 272a465 commit ebb6dda
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 0 deletions.
13 changes: 13 additions & 0 deletions examples/step-74/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,19 @@ if(NOT ${deal.II_FOUND})
)
endif()

#
# Are all dependencies fulfilled?
#
if(NOT DEAL_II_WITH_UMFPACK) # 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_UMFPACK = ON
However, the deal.II library found at ${DEAL_II_PATH} was configured with these options:
DEAL_II_WITH_UMFPACK = ${DEAL_II_WITH_UMFPACK}
This conflicts with the requirements."
)
endif()

deal_ii_initialize_cached_variables()
project(${TARGET})
deal_ii_invoke_autopilot()
13 changes: 13 additions & 0 deletions examples/step-79/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,19 @@ if(NOT ${deal.II_FOUND})
)
endif()

#
# Are all dependencies fulfilled?
#
if(NOT DEAL_II_WITH_UMFPACK) # 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_UMFPACK = ON
However, the deal.II library found at ${DEAL_II_PATH} was configured with these options:
DEAL_II_WITH_UMFPACK = ${DEAL_II_WITH_UMFPACK}
This conflicts with the requirements."
)
endif()

deal_ii_initialize_cached_variables()
project(${TARGET})
deal_ii_invoke_autopilot()
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit ebb6dda

Please sign in to comment.