Skip to content

Commit

Permalink
Emit warning at end of configuration if building without UMFPACK nor …
Browse files Browse the repository at this point in the history
…MUMPS
  • Loading branch information
mmuetzel committed Sep 26, 2024
1 parent 1a1b1be commit 80a8c8e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -835,6 +835,10 @@ IF(HAVE_EXTOPTIM)
MESSAGE(STATUS "------------------------------------------------")
ENDIF(HAVE_EXTOPTIM)

IF(NOT HAVE_UMFPACK AND NOT HAVE_MUMPS)
MESSAGE(WARNING "Elmer is configured without backend for direct solvers (UMFPACK or MUMPS).\n"
"Are you sure this is intended?")
ENDIF()


# Packaging
Expand Down

0 comments on commit 80a8c8e

Please sign in to comment.