summaryrefslogtreecommitdiffstats
path: root/Modules/FindLAPACK.cmake
diff options
context:
space:
mode:
authorIgor S. Gerasimov <i.s.ger@ya.ru>2021-08-07 08:30:46 (GMT)
committerBrad King <brad.king@kitware.com>2021-09-22 19:16:22 (GMT)
commit2531e464dfefaacdd06c6b28e7f59897510a52c1 (patch)
treeaebf41b5d5eb168875a77adbae6091356011623f /Modules/FindLAPACK.cmake
parent8fdbd272b580344da2fbca33dd960dc2b29a43d1 (diff)
downloadCMake-2531e464dfefaacdd06c6b28e7f59897510a52c1.zip
CMake-2531e464dfefaacdd06c6b28e7f59897510a52c1.tar.gz
CMake-2531e464dfefaacdd06c6b28e7f59897510a52c1.tar.bz2
FindLAPACK: Update Generic LAPACK
Diffstat (limited to 'Modules/FindLAPACK.cmake')
-rw-r--r--Modules/FindLAPACK.cmake5
1 files changed, 4 insertions, 1 deletions
diff --git a/Modules/FindLAPACK.cmake b/Modules/FindLAPACK.cmake
index b82a464..824cfd2 100644
--- a/Modules/FindLAPACK.cmake
+++ b/Modules/FindLAPACK.cmake
@@ -613,6 +613,7 @@ if(NOT LAPACK_NOT_FOUND_MESSAGE)
AND (BLA_VENDOR STREQUAL "Generic"
OR BLA_VENDOR STREQUAL "ATLAS"
OR BLA_VENDOR STREQUAL "All"))
+ set(_lapack_generic_lib "lapack")
if(BLA_STATIC)
# We do not know for sure how the LAPACK reference implementation
# is built on this host. Guess typical dependencies.
@@ -625,13 +626,15 @@ if(NOT LAPACK_NOT_FOUND_MESSAGE)
LAPACK
cheev
""
- "lapack"
+ "${_lapack_generic_lib}"
"${_lapack_generic_deps}"
""
""
"${BLAS_LIBRARIES}"
)
+
unset(_lapack_generic_deps)
+ unset(_lapack_generic_lib)
endif()
endif()