summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-01-31 16:01:35 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-01-31 16:01:41 (GMT)
commit591899bc9643881610f665ac2e8787774a6b78b0 (patch)
treebcd1d3024c5da6e1e79e960fb77d050022555999
parent9eaa6aa599ebc4f380fbc36e352fd5ad25c5bcd7 (diff)
parentcba5b22db34c73c32653894d39888b44b9f25558 (diff)
downloadCMake-591899bc9643881610f665ac2e8787774a6b78b0.zip
CMake-591899bc9643881610f665ac2e8787774a6b78b0.tar.gz
CMake-591899bc9643881610f665ac2e8787774a6b78b0.tar.bz2
Merge topic 'FindLAPACK-typo'
cba5b22db3 Merge branch 'backport-FindLAPACK-typo' 6f5e4a53bc FindLAPACK: Distinguish check result variable name from FindBLAS bb735025de Find{BLAS,LAPACK}: Drop unnecessary mark_as_advanced calls Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2897
-rw-r--r--Modules/FindBLAS.cmake1
-rw-r--r--Modules/FindLAPACK.cmake1
2 files changed, 0 insertions, 2 deletions
diff --git a/Modules/FindBLAS.cmake b/Modules/FindBLAS.cmake
index b6348fd..33cc024 100644
--- a/Modules/FindBLAS.cmake
+++ b/Modules/FindBLAS.cmake
@@ -167,7 +167,6 @@ macro(Check_Fortran_Libraries LIBRARIES _prefix _name _flags _list _thread)
check_function_exists("${_name}_" ${_prefix}${_combined_name}_WORKS)
endif()
set(CMAKE_REQUIRED_LIBRARIES)
- mark_as_advanced(${_prefix}${_combined_name}_WORKS)
set(_libraries_work ${${_prefix}${_combined_name}_WORKS})
endif()
if(_libraries_work)
diff --git a/Modules/FindLAPACK.cmake b/Modules/FindLAPACK.cmake
index 7619664..7b5f527 100644
--- a/Modules/FindLAPACK.cmake
+++ b/Modules/FindLAPACK.cmake
@@ -142,7 +142,6 @@ if(_libraries_work)
check_fortran_function_exists(${_name} ${_prefix}${_combined_name}_WORKS)
endif ()
set(CMAKE_REQUIRED_LIBRARIES)
- mark_as_advanced(${_prefix}${_combined_name}_WORKS)
set(_libraries_work ${${_prefix}${_combined_name}_WORKS})
#message("DEBUG: ${LIBRARIES} = ${${LIBRARIES}}")
endif()