Skip to content

Commit fe5ce20

Browse files
authored
Merge pull request #264 from jcortial-safran/cmake-find-scotch-quiet
Make FindScotch module respect QUIET
2 parents f7d154c + 95374a0 commit fe5ce20

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cmake/modules/FindSCOTCH.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@
5151
# (To distribute this file outside of Morse, substitute the full
5252
# License text for the above reference.)
5353

54+
set(CMAKE_REQUIRED_QUIET SCOTCH_FIND_QUIETLY)
55+
5456
if (NOT SCOTCH_FOUND)
5557
set(SCOTCH_DIR "" CACHE PATH "Installation directory of SCOTCH library")
5658
if (NOT SCOTCH_FIND_QUIETLY)
@@ -367,3 +369,5 @@ find_package_handle_standard_args(SCOTCH DEFAULT_MSG
367369
#
368370
# TODO: Add possibility to check for specific functions in the library
369371
#
372+
373+
unset(CMAKE_REQUIRED_QUIET)

0 commit comments

Comments
 (0)