File tree Expand file tree Collapse file tree 2 files changed +2
-31
lines changed Expand file tree Collapse file tree 2 files changed +2
-31
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ find_package(MKL CONFIG REQUIRED)
24
24
#
25
25
# The resulting object and linking are portable and should be suitable for distribution.
26
26
if (SVS_EXPERIMENTAL_BUILD_CUSTOM_MKL )
27
- set (SVS_MKL_CUSTOM_LIBRARY_NAME libmkl_custom )
27
+ set (SVS_MKL_CUSTOM_LIBRARY_NAME libsvs_mkl )
28
28
set (SVS_MKL_CUSTOM_SO_NAME ${SVS_MKL_CUSTOM_LIBRARY_NAME} .so )
29
29
set (SVS_MKL_CUSTOM_FULL_PATH ${CMAKE_CURRENT_BINARY_DIR} /${SVS_MKL_CUSTOM_SO_NAME} )
30
30
@@ -82,7 +82,7 @@ if (SVS_EXPERIMENTAL_BUILD_CUSTOM_MKL)
82
82
# Ensure that the custom Intel(R) MKL library is bundled with the rest of the library.
83
83
include (GNUInstallDirs )
84
84
install (IMPORTED_RUNTIME_ARTIFACTS svs_mkl LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} )
85
- else ( )
85
+ elseif ( NOT SVS_EXPERIMENTAL_LINK_STATIC_MKL )
86
86
target_compile_options (
87
87
${SVS_LIB} INTERFACE $< TARGET_PROPERTY:MKL::MKL,INTERFACE_COMPILE_OPTIONS>
88
88
)
You can’t perform that action at this time.
0 commit comments