Skip to content

Commit 6770bdb

Browse files
committed
Fix libfranka RPATH
1 parent a802f1f commit 6770bdb

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ target_include_directories(mujoco_ui_lib INTERFACE ${MuJoCo_UI_DIR})
105105
#install(TARGETS pinocchio_default DESTINATION rcsss COMPONENT python_package)
106106

107107
# Set the rpath to include the path where the libraries are installed
108-
set(CMAKE_INSTALL_RPATH "$ORIGIN")
108+
# set(CMAKE_INSTALL_RPATH "$ORIGIN")
109109

110110
FetchContent_MakeAvailable(libfranka rl pybind11)
111111

src/pybind/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,8 @@ set_target_properties(_core PROPERTIES
66
INSTALL_RPATH "$ORIGIN;$ORIGIN/../mujoco"
77
INTERPROCEDURAL_OPTIMIZATION TRUE
88
)
9+
set_target_properties(franka PROPERTIES
10+
INSTALL_RPATH "$ORIGIN/../cmeel.prefix/lib"
11+
INTERPROCEDURAL_OPTIMIZATION TRUE
12+
)
913
install(TARGETS _core franka DESTINATION rcsss COMPONENT python_package)

0 commit comments

Comments
 (0)