summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorIgor S. Gerasimov <i.s.ger@ya.ru>2021-08-07 08:29:18 (GMT)
committerBrad King <brad.king@kitware.com>2021-09-22 19:16:22 (GMT)
commitbf048d2ddd3472c52cadd9c1562717ef29d6323a (patch)
tree4fb28f354814d118a4b0741df4ff90d5a8968c6d /Modules
parentc4d4f0708b9c8aa0cba6d8d031aee7d30798dba6 (diff)
downloadCMake-bf048d2ddd3472c52cadd9c1562717ef29d6323a.zip
CMake-bf048d2ddd3472c52cadd9c1562717ef29d6323a.tar.gz
CMake-bf048d2ddd3472c52cadd9c1562717ef29d6323a.tar.bz2
FindBLAS: Update Generic BLAS
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindBLAS.cmake6
1 files changed, 5 insertions, 1 deletions
diff --git a/Modules/FindBLAS.cmake b/Modules/FindBLAS.cmake
index 5743f9d..575d223 100644
--- a/Modules/FindBLAS.cmake
+++ b/Modules/FindBLAS.cmake
@@ -1176,18 +1176,22 @@ endif()
# Generic BLAS library?
if(BLA_VENDOR STREQUAL "Generic" OR
BLA_VENDOR STREQUAL "All")
+ set(_blas_generic_lib "blas")
+
if(NOT BLAS_LIBRARIES)
check_blas_libraries(
BLAS_LIBRARIES
BLAS
sgemm
""
- "blas"
+ "${_blas_generic_lib}"
""
""
""
)
endif()
+
+ unset(_blas_generic_lib)
endif()
# On compilers that implicitly link BLAS (i.e. CrayPrgEnv) we used a