Skip to content

Commit

Permalink
make MKL required when enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
fwilliams committed Nov 26, 2018
1 parent 8d81075 commit 5888b69
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Empty file removed .gitmodules
Empty file.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ download_dep(numpyeigen
list(APPEND CMAKE_MODULE_PATH ${EXTERNAL_DEP_DIR}/numpyeigen/cmake)
include(numpyeigen) # This will define Eigen3::Eigen if we enabled NPE_WITH_EIGEN
if (${EIGEN_WITH_MKL})
find_package(MKL)
find_package(MKL REQUIRED)
target_link_libraries(Eigen3::Eigen INTERFACE ${MKL_LIBRARIES} -fopenmp)
target_include_directories(Eigen3::Eigen INTERFACE ${MKL_INCLUDE_DIRS})
target_compile_definitions(Eigen3::Eigen INTERFACE EIGEN_USE_MKL_ALL)
Expand Down

0 comments on commit 5888b69

Please sign in to comment.