Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add MKLConfig.cmake
  • Loading branch information
AlexanderKalistratov committed Jun 27, 2023
commit 5badbc47da700112237c643b597791dfc13561b6
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pybind11_add_module(${py_module_name}

message(${CMAKE_CURRENT_SOURCE_DIR})
find_package(TBB REQUIRED PATHS ${CMAKE_CURRENT_SOURCE_DIR}/cmake NO_DEFAULT_PATH)
find_package(MKL CONFIG REQUIRED)
find_package(MKL CONFIG REQUIRED PATHS ${CMAKE_CURRENT_SOURCE_DIR}/cmake NO_DEFAULT_PATH)

target_compile_options(${py_module_name} PUBLIC $<TARGET_PROPERTY:MKL::MKL,INTERFACE_COMPILE_OPTIONS>)
target_include_directories(${py_module_name} PUBLIC ${Dpctl_INCLUDE_DIRS} $<TARGET_PROPERTY:MKL::MKL,INTERFACE_INCLUDE_DIRECTORIES>)
Expand Down
Loading