diff options
author | Igor S. Gerasimov <i.s.ger@ya.ru> | 2021-08-07 08:05:12 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-09-22 19:16:22 (GMT) |
commit | 8fdbd272b580344da2fbca33dd960dc2b29a43d1 (patch) | |
tree | 7b1af2d2a220487b9d5443aa83a4760a848c7278 /Modules | |
parent | 285c518937b6a3d7cfd9866d5e91910a587523d5 (diff) | |
download | CMake-8fdbd272b580344da2fbca33dd960dc2b29a43d1.zip CMake-8fdbd272b580344da2fbca33dd960dc2b29a43d1.tar.gz CMake-8fdbd272b580344da2fbca33dd960dc2b29a43d1.tar.bz2 |
FindLAPACK: Update FlexiBLAS
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindLAPACK.cmake | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Modules/FindLAPACK.cmake b/Modules/FindLAPACK.cmake index 7bef443..b82a464 100644 --- a/Modules/FindLAPACK.cmake +++ b/Modules/FindLAPACK.cmake @@ -418,17 +418,21 @@ if(NOT LAPACK_NOT_FOUND_MESSAGE) # FlexiBLAS? (http://www.mpi-magdeburg.mpg.de/mpcsc/software/FlexiBLAS/) if(NOT LAPACK_LIBRARIES AND (BLA_VENDOR STREQUAL "FlexiBLAS" OR BLA_VENDOR STREQUAL "All")) + set(_lapack_flexiblas_lib "flexiblas") + check_lapack_libraries( LAPACK_LIBRARIES LAPACK cheev "" - "flexiblas" + "${_lapack_flexiblas_lib}" "" "" "" "${BLAS_LIBRARIES}" ) + + unset(_lapack_flexiblas_lib) endif() # OpenBLAS? (http://www.openblas.net) |