Skip to content
Snippets Groups Projects
Commit 96c19ecd authored by Michael Hirsch's avatar Michael Hirsch Committed by Brad King
Browse files

FindBLAS: Handle Windows Intel MKLROOT with backslash

parent 1e26c84b
No related branches found
No related tags found
1 merge request!4982Find{BLAS,LAPACK}: Handle Intel compiler MKLROOT on Windows
......@@ -473,7 +473,7 @@ if(BLA_VENDOR MATCHES "Intel" OR BLA_VENDOR STREQUAL "All")
set(BLAS_mkl_OS_NAME "lin")
endif()
if(DEFINED ENV{MKLROOT})
set(BLAS_mkl_MKLROOT "$ENV{MKLROOT}")
file(TO_CMAKE_PATH "$ENV{MKLROOT}" BLAS_mkl_MKLROOT)
# If MKLROOT points to the subdirectory 'mkl', use the parent directory instead
# so we can better detect other relevant libraries in 'compiler' or 'tbb':
get_filename_component(BLAS_mkl_MKLROOT_LAST_DIR "${BLAS_mkl_MKLROOT}" NAME)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment