summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorIgor S. Gerasimov <i.s.ger@ya.ru>2021-08-07 08:00:27 (GMT)
committerBrad King <brad.king@kitware.com>2021-09-22 19:16:21 (GMT)
commitf17f20f6cd8a96a57965f08f8f8fecaedeb277af (patch)
tree5b0eccd5012737af8e3bf4b3299f4081941ab165 /Modules
parent8a859fd6aef8f6c829eaf2a9b0628f1e049951c0 (diff)
downloadCMake-f17f20f6cd8a96a57965f08f8f8fecaedeb277af.zip
CMake-f17f20f6cd8a96a57965f08f8f8fecaedeb277af.tar.gz
CMake-f17f20f6cd8a96a57965f08f8f8fecaedeb277af.tar.bz2
FindLAPACK: IBMESSL: LAPACK is in BLAS
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindLAPACK.cmake20
1 files changed, 2 insertions, 18 deletions
diff --git a/Modules/FindLAPACK.cmake b/Modules/FindLAPACK.cmake
index 7b5e01d..aee0dc2 100644
--- a/Modules/FindLAPACK.cmake
+++ b/Modules/FindLAPACK.cmake
@@ -590,25 +590,9 @@ if(NOT LAPACK_NOT_FOUND_MESSAGE)
# LAPACK in IBM ESSL library?
if(NOT LAPACK_LIBRARIES
AND (BLA_VENDOR MATCHES "IBMESSL" OR BLA_VENDOR STREQUAL "All"))
- set(_lapack_essl_lib "essl")
-
- # Check for OpenMP support, VIA BLA_VENDOR of esslsmp
- if(BLA_VENDOR MATCHES "_SMP")
- set(_lapack_essl_lib "${_lapack_essl_lib}smp")
+ if(BLAS_LIBRARIES MATCHES "essl.+")
+ set(LAPACK_LIBRARIES ${BLAS_LIBRARIES})
endif()
-
- check_lapack_libraries(
- LAPACK_LIBRARIES
- LAPACK
- cheev
- ""
- "${_lapack_essl_lib}"
- ""
- ""
- ""
- "${BLAS_LIBRARIES}"
- )
- unset(_lapack_essl_lib)
endif()
# NVHPC Library?