diff options
author | Igor S. Gerasimov <i.s.ger@ya.ru> | 2021-08-07 08:21:16 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-09-22 19:16:22 (GMT) |
commit | 88969b51679784ce2f64da4d8ceefbf802cfcdff (patch) | |
tree | f1f4e74932949fb7ddd3f9371c0da8d6789ddc38 /Modules/FindBLAS.cmake | |
parent | 21250d4dd2e0e6cdb3da089b6f9e0d8e30614f40 (diff) | |
download | CMake-88969b51679784ce2f64da4d8ceefbf802cfcdff.zip CMake-88969b51679784ce2f64da4d8ceefbf802cfcdff.tar.gz CMake-88969b51679784ce2f64da4d8ceefbf802cfcdff.tar.bz2 |
FindBLAS: Update FlexiBLAS
Diffstat (limited to 'Modules/FindBLAS.cmake')
-rw-r--r-- | Modules/FindBLAS.cmake | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Modules/FindBLAS.cmake b/Modules/FindBLAS.cmake index 5ce726c..e22fae3 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) |