diff options
author | Igor S. Gerasimov <i.s.ger@ya.ru> | 2021-08-07 08:29:18 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-09-22 19:16:22 (GMT) |
commit | bf048d2ddd3472c52cadd9c1562717ef29d6323a (patch) | |
tree | 4fb28f354814d118a4b0741df4ff90d5a8968c6d /Modules | |
parent | c4d4f0708b9c8aa0cba6d8d031aee7d30798dba6 (diff) | |
download | CMake-bf048d2ddd3472c52cadd9c1562717ef29d6323a.zip CMake-bf048d2ddd3472c52cadd9c1562717ef29d6323a.tar.gz CMake-bf048d2ddd3472c52cadd9c1562717ef29d6323a.tar.bz2 |
FindBLAS: Update Generic BLAS
Diffstat (limited to 'Modules')
-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 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 |