summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-01-31 13:58:47 (GMT)
committerBrad King <brad.king@kitware.com>2019-01-31 14:11:03 (GMT)
commitbb735025dea634285a43b32b98af7ac25c5f8e76 (patch)
tree07ffa29135eff74caef5610ded2a2b3d3864e14e /Modules
parentde7eb1a3d0e1389437a37513f566244344032c1e (diff)
downloadCMake-bb735025dea634285a43b32b98af7ac25c5f8e76.zip
CMake-bb735025dea634285a43b32b98af7ac25c5f8e76.tar.gz
CMake-bb735025dea634285a43b32b98af7ac25c5f8e76.tar.bz2
Find{BLAS,LAPACK}: Drop unnecessary mark_as_advanced calls
Cache entries created by `try_compile` are already `INTERNAL`.
Diffstat (limited to 'Modules')
-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()