Skip to content

Commit 1c92666

Browse files
committed
Merge branch 'rfsaliev/cpp-runtime-binding' of https://github.com/intel/ScalableVectorSearch into rfsaliev/cpp-runtime-binding
2 parents 1f20a5b + dfc84a8 commit 1c92666

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmake/mkl.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,5 +108,8 @@ else() # if static link and not custom mkl
108108
if(UNIX AND NOT APPLE)
109109
target_link_options(${target} PRIVATE "SHELL:-Wl,--exclude-libs,ALL")
110110
endif()
111+
target_include_directories(
112+
${target} PRIVATE $<TARGET_PROPERTY:MKL::MKL,INTERFACE_INCLUDE_DIRECTORIES>
113+
)
111114
endfunction()
112115
endif()

0 commit comments

Comments
 (0)