Skip to content
Snippets Groups Projects
Commit 5e729eba authored by Tobias Leibner's avatar Tobias Leibner
Browse files

[cmake] Fix FindMKL

parent e1ed39fd
No related branches found
No related tags found
No related merge requests found
......@@ -16,9 +16,9 @@ include(Hints)
set(mkl_hints ${hint_prefixes})
set(mkl_lib_hints "")
set(mkl_include_hints "")
list(APPEND mkl_hints "/opt/intel/mkl/" "$ENV{HOME}/intel/mkl")
append_to_each(mkl_hints "lib/intel64" mkl_lib_hints)
append_to_each(mkl_hints "include/" mkl_include_hints)
list(APPEND mkl_hints "/opt/intel/mkl/" "$ENV{HOME}/intel/mkl" "/home/l_tobi01/Software/dune-gdt-super/local/mkl/")
append_to_each("${mkl_hints}" "lib/intel64" mkl_lib_hints)
append_to_each("${mkl_hints}" "include/" mkl_include_hints)
find_library(MKL_LP64_LIBRARY mkl_intel_lp64 HINTS ${mkl_lib_hints})
find_library(MKL_SEQUENTIAL_LIBRARY mkl_sequential HINTS ${mkl_lib_hints})
......
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