Skip to content
Snippets Groups Projects
Commit 489e1d9e authored by Thomas Moulard's avatar Thomas Moulard
Browse files

Preserve rpath when instaling libros_bridge.so.

parent a99093a0
No related branches found
No related tags found
No related merge requests found
...@@ -32,6 +32,9 @@ rosbuild_add_library(ros_bridge ...@@ -32,6 +32,9 @@ rosbuild_add_library(ros_bridge
include/dynamic_graph_bridge/ros_init.hh src/ros_init.cpp include/dynamic_graph_bridge/ros_init.hh src/ros_init.cpp
src/sot_to_ros.hh src/sot_to_ros.cpp src/sot_to_ros.hh src/sot_to_ros.cpp
) )
# Make sure rpath are preserved during the install as ROS dependencies
# are not installed.
set_target_properties(ros_bridge PROPERTIES BUILD_WITH_INSTALL_RPATH True)
rosbuild_add_library(ros_import src/ros_import.cpp src/ros_import.hh) rosbuild_add_library(ros_import src/ros_import.cpp src/ros_import.hh)
rosbuild_add_compile_flags(ros_import ${JRL_MAL_CFLAGS} ${DYNAMIC_GRAPH_CFLAGS} rosbuild_add_compile_flags(ros_import ${JRL_MAL_CFLAGS} ${DYNAMIC_GRAPH_CFLAGS}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment