diff options
author | Jakub Benda <jacob.benda@gmail.com> | 2018-11-04 17:08:15 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-11-05 13:00:02 (GMT) |
commit | 970b18e9a5dca2c5bb6d1ecc79f3f9d1c727d641 (patch) | |
tree | 1fc38334a74fb0218ec0b6c541defb8b9fa48519 /Modules/FindBLAS.cmake | |
parent | 44cc305ac12d58fe476f815b89f42288455e44a9 (diff) | |
download | CMake-970b18e9a5dca2c5bb6d1ecc79f3f9d1c727d641.zip CMake-970b18e9a5dca2c5bb6d1ecc79f3f9d1c727d641.tar.gz CMake-970b18e9a5dca2c5bb6d1ecc79f3f9d1c727d641.tar.bz2 |
FindBLAS: Correct symbol searched in BLAS95 wrapper
The symbol "SGEMM", originally used to determine if a library provides
Fortran 95 wrappers for BLAS, has been replaced by "sgemm_f95". "SGEMM"
is provided by libmkl_intel_(i)lp64, which does not provide the generic
Fortran 95 wrappers. Instead, libmkl_blas95_(i)lp does; one of the
specializations of the type-generic interfaces contained in that library
is "sgemm_f95".
Diffstat (limited to 'Modules/FindBLAS.cmake')
-rw-r--r-- | Modules/FindBLAS.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindBLAS.cmake b/Modules/FindBLAS.cmake index e955bc2..efcf355 100644 --- a/Modules/FindBLAS.cmake +++ b/Modules/FindBLAS.cmake @@ -222,7 +222,7 @@ if (BLA_VENDOR MATCHES "Intel" OR BLA_VENDOR STREQUAL "All") set(BLAS_SEARCH_LIBS "") if(BLA_F95) - set(BLAS_mkl_SEARCH_SYMBOL SGEMM) + set(BLAS_mkl_SEARCH_SYMBOL sgemm_f95) set(_LIBRARIES BLAS95_LIBRARIES) if (WIN32) if (BLA_STATIC) |