Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
Henrik Barthels authored Mar 8, 2021
1 parent 93be13a commit a85baaf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ if(${WITH_LAPACK})
target_compile_definitions(libtests INTERFACE HAVE_LAPACK)
target_compile_options(libtests INTERFACE ${LAPACK_LINKER_FLAGS})
target_link_libraries(libtests INTERFACE ${LAPACK_LIBRARIES})

target_include_directories(libtests INTERFACE $ENV{MKLROOT}/include)

# Neither BLAS nor LAPACK find modules export include directories
# Eigen, on the other hand, uses mkl.h and we use mkl_cblas.h
# This code assumes that MKL has a main directory with include/
Expand Down

0 comments on commit a85baaf

Please sign in to comment.