summaryrefslogtreecommitdiff
path: root/Modules/FindBLAS.cmake
diff options
context:
space:
mode:
authorIgor S. Gerasimov <i.s.ger@ya.ru>2021-08-07 11:21:16 +0300
committerBrad King <brad.king@kitware.com>2021-09-22 15:16:22 -0400
commit88969b51679784ce2f64da4d8ceefbf802cfcdff (patch)
treef1f4e74932949fb7ddd3f9371c0da8d6789ddc38 /Modules/FindBLAS.cmake
parent21250d4dd2e0e6cdb3da089b6f9e0d8e30614f40 (diff)
downloadcmake-88969b51679784ce2f64da4d8ceefbf802cfcdff.tar.gz
FindBLAS: Update FlexiBLAS
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 5ce726c401..e22fae318e 100644
--- a/Modules/FindBLAS.cmake
+++ b/Modules/FindBLAS.cmake
@@ -675,18 +675,22 @@ endif()
# FlexiBLAS? (http://www.mpi-magdeburg.mpg.de/mpcsc/software/FlexiBLAS/)
if(BLA_VENDOR STREQUAL "FlexiBLAS" OR BLA_VENDOR STREQUAL "All")
+ set(_blas_flexiblas_lib "flexiblas")
+
if(NOT BLAS_LIBRARIES)
check_blas_libraries(
BLAS_LIBRARIES
BLAS
sgemm
""
- "flexiblas"
+ "${_blas_flexiblas_lib}"
""
""
""
)
endif()
+
+ unset(_blas_flexiblas_lib)
endif()
# OpenBLAS? (http://www.openblas.net)