diff options
author | Peter Knowles <KnowlesPJ@Cardiff.ac.uk> | 2021-06-09 07:45:56 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-06-11 10:55:09 (GMT) |
commit | 130fa72bb336bf0a30aef297b1441594c147398e (patch) | |
tree | 6e2e38e1f6c4f99751d3b3d66ddf2492aa82b557 /Modules/FindBLAS.cmake | |
parent | 4217e1cf3a47a2702e07dbf38cce43d6650e497b (diff) | |
download | CMake-130fa72bb336bf0a30aef297b1441594c147398e.zip CMake-130fa72bb336bf0a30aef297b1441594c147398e.tar.gz CMake-130fa72bb336bf0a30aef297b1441594c147398e.tar.bz2 |
Find{BLAS,LAPACK}: Update for Intel oneAPI structure under MKLROOT
Add search paths for the Intel oneAPI MKL directory structure
so that we do not rely on paths in `LD_LIBRARY_PATH`.
Diffstat (limited to 'Modules/FindBLAS.cmake')
-rw-r--r-- | Modules/FindBLAS.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/FindBLAS.cmake b/Modules/FindBLAS.cmake index 826a9c2..dc35f01 100644 --- a/Modules/FindBLAS.cmake +++ b/Modules/FindBLAS.cmake @@ -533,7 +533,9 @@ if(BLA_VENDOR MATCHES "Intel" OR BLA_VENDOR STREQUAL "All") "compiler/lib/${BLAS_mkl_ARCH_NAME}" "mkl/lib" "mkl/lib/${BLAS_mkl_ARCH_NAME}_${BLAS_mkl_OS_NAME}" "mkl/lib/${BLAS_mkl_ARCH_NAME}" - "lib/${BLAS_mkl_ARCH_NAME}_${BLAS_mkl_OS_NAME}") + "lib" "lib/${BLAS_mkl_ARCH_NAME}_${BLAS_mkl_OS_NAME}" + "lib/${BLAS_mkl_ARCH_NAME}" + ) foreach(IT ${BLAS_SEARCH_LIBS}) string(REPLACE " " ";" SEARCH_LIBS ${IT}) |