Skip to content

Commit b43b817

Browse files
authored
Extend INSTALL_RPATH for the patch target on Unix
1 parent 870f040 commit b43b817

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,6 @@ target_compile_definitions(_patch PUBLIC NPY_NO_DEPRECATED_API=NPY_1_7_API_VERSI
140140
target_link_libraries(_patch PRIVATE mkl_umath_loops)
141141
set_target_properties(_patch PROPERTIES C_STANDARD 99)
142142
if (UNIX)
143-
set_target_properties(_patch PROPERTIES INSTALL_RPATH "$ORIGIN")
143+
set_target_properties(_patch PROPERTIES INSTALL_RPATH "$ORIGIN/../..;$ORIGIN/../../..;$ORIGIN")
144144
endif()
145145
install(TARGETS _patch LIBRARY DESTINATION mkl_umath)

0 commit comments

Comments
 (0)