summaryrefslogtreecommitdiff
path: root/Modules/FindLAPACK.cmake
diff options
context:
space:
mode:
authorJakub Benda <jacob.benda@gmail.com>2018-11-18 19:53:32 +0000
committerJakub Benda <jacob.benda@gmail.com>2018-11-18 19:56:24 +0000
commitede1715c1d4f35e806e3dabddd09c39eeed9a628 (patch)
tree5739168c1e3e14d13fadde59714a3f02accc562a /Modules/FindLAPACK.cmake
parent03879b11af0b2179d879358df3cce3c2b7acb047 (diff)
downloadcmake-ede1715c1d4f35e806e3dabddd09c39eeed9a628.tar.gz
FindLAPACK: Remove MKL components already provided by MKL BLAS
A surplus library libmkl_gf_... has been removed from the LAPACK libraries serach path (when relevant, it is already provided by BLAS). Similarly, the thread libraries do not need to be explicitly added to the implicit LAPACK libraries, as they are already included in the list (via BLAS libraries provided by FindBLAS).
Diffstat (limited to 'Modules/FindLAPACK.cmake')
-rw-r--r--Modules/FindLAPACK.cmake5
1 files changed, 1 insertions, 4 deletions
diff --git a/Modules/FindLAPACK.cmake b/Modules/FindLAPACK.cmake
index d8daef2dfe..ad1cd45ae1 100644
--- a/Modules/FindLAPACK.cmake
+++ b/Modules/FindLAPACK.cmake
@@ -216,9 +216,6 @@ if (BLA_VENDOR MATCHES "Intel" OR BLA_VENDOR STREQUAL "All")
# old
list(APPEND LAPACK_SEARCH_LIBS
"mkl_lapack")
- # new >= 10.3
- list(APPEND LAPACK_SEARCH_LIBS
- "mkl_gf_${BLAS_mkl_ILP_MODE}")
endif()
# First try empty lapack libs
@@ -230,7 +227,7 @@ if (BLA_VENDOR MATCHES "Intel" OR BLA_VENDOR STREQUAL "All")
""
""
"${_BLAS_LIBRARIES}"
- "${CMAKE_THREAD_LIBS_INIT};${LM}"
+ ""
)
endif ()
# Then try the search libs