Skip to content

Commit

Permalink
Merge pull request #264 from jcortial-safran/cmake-find-scotch-quiet
Browse files Browse the repository at this point in the history
Make FindScotch module respect QUIET
  • Loading branch information
Algiane committed Apr 25, 2024
2 parents f7d154c + 95374a0 commit fe5ce20
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmake/modules/FindSCOTCH.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@
# (To distribute this file outside of Morse, substitute the full
# License text for the above reference.)

set(CMAKE_REQUIRED_QUIET SCOTCH_FIND_QUIETLY)

if (NOT SCOTCH_FOUND)
set(SCOTCH_DIR "" CACHE PATH "Installation directory of SCOTCH library")
if (NOT SCOTCH_FIND_QUIETLY)
Expand Down Expand Up @@ -367,3 +369,5 @@ find_package_handle_standard_args(SCOTCH DEFAULT_MSG
#
# TODO: Add possibility to check for specific functions in the library
#

unset(CMAKE_REQUIRED_QUIET)

0 comments on commit fe5ce20

Please sign in to comment.