diff options
author | Igor S. Gerasimov <i.s.ger@ya.ru> | 2021-08-07 11:00:57 +0300 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-09-22 15:16:21 -0400 |
commit | 7cb89314dd6f2b7d919133b83c1114a55ac7a209 (patch) | |
tree | 093ef3f6c7986fda9c2f11da100375969ae2df4e /Modules/FindLAPACK.cmake | |
parent | f17f20f6cd8a96a57965f08f8f8fecaedeb277af (diff) | |
download | cmake-7cb89314dd6f2b7d919133b83c1114a55ac7a209.tar.gz |
FindLAPACK: EML: LAPACK is in BLAS
Diffstat (limited to 'Modules/FindLAPACK.cmake')
-rw-r--r-- | Modules/FindLAPACK.cmake | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/Modules/FindLAPACK.cmake b/Modules/FindLAPACK.cmake index aee0dc2843..3f9635e672 100644 --- a/Modules/FindLAPACK.cmake +++ b/Modules/FindLAPACK.cmake @@ -557,25 +557,9 @@ if(NOT LAPACK_NOT_FOUND_MESSAGE) # Elbrus Math Library? if(NOT LAPACK_LIBRARIES AND (BLA_VENDOR MATCHES "EML" OR BLA_VENDOR STREQUAL "All")) - - set(LAPACK_EML_LIB "eml") - - # Check for OpenMP support, VIA BLA_VENDOR of eml_mt - if(BLA_VENDOR MATCHES "_mt") - set(LAPACK_EML_LIB "${LAPACK_EML_LIB}_mt") + if(BLAS_LIBRARIES MATCHES "eml.+") + set(LAPACK_LIBRARIES ${BLAS_LIBRARIES}) endif() - - check_lapack_libraries( - LAPACK_LIBRARIES - LAPACK - cheev - "" - "${LAPACK_EML_LIB}" - "" - "" - "" - "${BLAS_LIBRARIES}" - ) endif() # Fujitsu SSL2 Library? |