Skip to content

Commit 2cd10b3

Browse files
committed
Set rpath in indexing extension cmake
1 parent 2848c0f commit 2cd10b3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dpnp/backend/extensions/indexing/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ if (DPNP_GENERATE_COVERAGE)
8181
target_link_options(${python_module_name} PRIVATE -fprofile-instr-generate -fcoverage-mapping)
8282
endif()
8383

84+
if (DPNP_WITH_REDIST)
85+
set_target_properties(${python_module_name} PROPERTIES INSTALL_RPATH "$ORIGIN/../../../../../../")
86+
endif()
87+
8488
install(TARGETS ${python_module_name}
8589
DESTINATION "dpnp/backend/extensions/indexing"
8690
)

0 commit comments

Comments
 (0)