Skip to content

Commit 0793348

Browse files
committed
Retry
1 parent 4762aa0 commit 0793348

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -670,14 +670,14 @@ if(EXECUTORCH_BUILD_PYBIND)
670670
# macOS: use @loader_path for relative paths
671671
# @loader_path = directory containing the library itself
672672
set_target_properties(portable_lib PROPERTIES
673-
INSTALL_RPATH "@loader_path;@loader_path/../../../torch/lib"
673+
INSTALL_RPATH "@loader_path/../../../torch/lib"
674674
BUILD_WITH_INSTALL_RPATH FALSE # Use normal build RPATH during build
675675
)
676676
else()
677677
# Linux: use $ORIGIN for relative paths
678678
# $ORIGIN = directory containing the library itself
679679
set_target_properties(portable_lib PROPERTIES
680-
INSTALL_RPATH "\$ORIGIN;\$ORIGIN/../../../torch/lib"
680+
INSTALL_RPATH "$ORIGIN/../../../torch/lib"
681681
BUILD_WITH_INSTALL_RPATH FALSE # Use normal build RPATH during build
682682
)
683683
endif()

0 commit comments

Comments
 (0)