File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 ()
You can’t perform that action at this time.
0 commit comments