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 92479ee commit af3d463Copy full SHA for af3d463
sycl/source/CMakeLists.txt
@@ -218,7 +218,9 @@ function(add_sycl_rt_library LIB_NAME LIB_OBJ_NAME)
218
219
set_target_properties(${LIB_NAME} PROPERTIES
220
VERSION ${SYCL_VERSION_STRING}
221
- SOVERSION ${SYCL_MAJOR_VERSION})
+ SOVERSION ${SYCL_MAJOR_VERSION}
222
+ # Set the runpath to the lib directory so libsycl can find libur_loader
223
+ INSTALL_RPATH "\$ORIGIN")
224
225
# When building using icx on Windows, the VERSION file
226
# produced by cmake is used in source code
0 commit comments