We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e960e69 commit a14f900Copy full SHA for a14f900
libsyclinterface/CMakeLists.txt
@@ -314,6 +314,11 @@ target_include_directories(DPCTLSyclInterfaceHeaders INTERFACE
314
${CMAKE_CURRENT_SOURCE_DIR}/include
315
)
316
317
+if (DPCTL_WITH_REDIST)
318
+ cmake_path(RELATIVE_PATH CMAKE_SOURCE_DIR BASE_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} OUTPUT_VARIABLE _relative_path)
319
+ set_target_properties(DPCTLSyclInterface PROPERTIES INSTALL_RPATH "$ORIGIN/${_relative_path}/../../")
320
+endif()
321
+
322
install(TARGETS
323
DPCTLSyclInterface
324
LIBRARY
0 commit comments