summaryrefslogtreecommitdiffstats
path: root/Modules/FindBLAS.cmake
diff options
context:
space:
mode:
authorIgor S. Gerasimov <i.s.ger@ya.ru>2021-08-07 08:19:54 (GMT)
committerBrad King <brad.king@kitware.com>2021-09-22 19:16:22 (GMT)
commit84b7e2e15d6ed70474c345484c2961725f066142 (patch)
treebdea345b52ab696efb314c4e2c7d283c9d08a325 /Modules/FindBLAS.cmake
parentbf048d2ddd3472c52cadd9c1562717ef29d6323a (diff)
downloadCMake-84b7e2e15d6ed70474c345484c2961725f066142.zip
CMake-84b7e2e15d6ed70474c345484c2961725f066142.tar.gz
CMake-84b7e2e15d6ed70474c345484c2961725f066142.tar.bz2
FindBLAS: Update FLAME
Diffstat (limited to 'Modules/FindBLAS.cmake')
-rw-r--r--Modules/FindBLAS.cmake6
1 files changed, 5 insertions, 1 deletions
diff --git a/Modules/FindBLAS.cmake b/Modules/FindBLAS.cmake
index 575d223..ca3afc4 100644
--- a/Modules/FindBLAS.cmake
+++ b/Modules/FindBLAS.cmake
@@ -765,18 +765,22 @@ endif()
# FLAME's blis library? (https://github.com/flame/blis)
if(BLA_VENDOR STREQUAL "FLAME" OR BLA_VENDOR STREQUAL "All")
+ set(_blas_flame_lib "blis")
+
if(NOT BLAS_LIBRARIES)
check_blas_libraries(
BLAS_LIBRARIES
BLAS
sgemm
""
- "blis"
+ "${_blas_flame_lib}"
""
""
""
)
endif()
+
+ unset(_blas_flame_lib)
endif()
# BLAS in the ATLAS library? (http://math-atlas.sourceforge.net/)