summaryrefslogtreecommitdiffstats
path: root/Modules/FindLAPACK.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-04-01 15:06:12 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-04-01 15:06:12 (GMT)
commitce9ffd6b23155588a2f8be880afd0fc7654808af (patch)
tree1b9dae11a0a96c004887d7ef4a7659a3ed11545d /Modules/FindLAPACK.cmake
parent8617de566f637935793dc2c7bcf004a3b311c31e (diff)
parent83934757c942672d8bea79f11e51a184b168a212 (diff)
downloadCMake-ce9ffd6b23155588a2f8be880afd0fc7654808af.zip
CMake-ce9ffd6b23155588a2f8be880afd0fc7654808af.tar.gz
CMake-ce9ffd6b23155588a2f8be880afd0fc7654808af.tar.bz2
Merge topic 'find_package-check-quiet'
83934757 Find*: Make find_package(.. QUIET) affect Check* modules. 4c0cc9ab Check*.cmake : Add CMAKE_REQUIRED_QUIET flag.
Diffstat (limited to 'Modules/FindLAPACK.cmake')
-rw-r--r--Modules/FindLAPACK.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/FindLAPACK.cmake b/Modules/FindLAPACK.cmake
index 69da4cd..33f4f0c 100644
--- a/Modules/FindLAPACK.cmake
+++ b/Modules/FindLAPACK.cmake
@@ -54,6 +54,10 @@ include(${CMAKE_CURRENT_LIST_DIR}/CheckFunctionExists.cmake)
else ()
include(${CMAKE_CURRENT_LIST_DIR}/CheckFortranFunctionExists.cmake)
endif ()
+include(${CMAKE_CURRENT_LIST_DIR}/CMakePushCheckState.cmake)
+
+cmake_push_check_state()
+set(CMAKE_REQUIRED_QUIET ${LAPACK_FIND_QUIETLY})
set(LAPACK_FOUND FALSE)
set(LAPACK95_FOUND FALSE)
@@ -347,4 +351,5 @@ else()
endif()
endif()
+cmake_pop_check_state()
set(CMAKE_FIND_LIBRARY_SUFFIXES ${_lapack_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES})