summaryrefslogtreecommitdiffstats
path: root/Modules/FindLAPACK.cmake
diff options
context:
space:
mode:
authorIgor S. Gerasimov <i.s.ger@ya.ru>2021-08-07 08:04:22 (GMT)
committerBrad King <brad.king@kitware.com>2021-09-22 19:16:21 (GMT)
commit285c518937b6a3d7cfd9866d5e91910a587523d5 (patch)
tree16b565658b8f7678b79e2e4d9bff0756678c555a /Modules/FindLAPACK.cmake
parent9f525327574e3381d425bee02173ff03aeb1351c (diff)
downloadCMake-285c518937b6a3d7cfd9866d5e91910a587523d5.zip
CMake-285c518937b6a3d7cfd9866d5e91910a587523d5.tar.gz
CMake-285c518937b6a3d7cfd9866d5e91910a587523d5.tar.bz2
FindLAPACK: Update OpenBLAS
Diffstat (limited to 'Modules/FindLAPACK.cmake')
-rw-r--r--Modules/FindLAPACK.cmake6
1 files changed, 5 insertions, 1 deletions
diff --git a/Modules/FindLAPACK.cmake b/Modules/FindLAPACK.cmake
index ca62b84..7bef443 100644
--- a/Modules/FindLAPACK.cmake
+++ b/Modules/FindLAPACK.cmake
@@ -434,17 +434,21 @@ if(NOT LAPACK_NOT_FOUND_MESSAGE)
# OpenBLAS? (http://www.openblas.net)
if(NOT LAPACK_LIBRARIES
AND (BLA_VENDOR STREQUAL "OpenBLAS" OR BLA_VENDOR STREQUAL "All"))
+ set(_lapack_openblas_lib "openblas")
+
check_lapack_libraries(
LAPACK_LIBRARIES
LAPACK
cheev
""
- "openblas"
+ "${_lapack_openblas_lib}"
""
""
""
"${BLAS_LIBRARIES}"
)
+
+ unset(_lapack_openblas_lib)
endif()
# ArmPL? (https://developer.arm.com/tools-and-software/server-and-hpc/compile/arm-compiler-for-linux/arm-performance-libraries)