Skip to content
Snippets Groups Projects
Commit 4a0770c2 authored by Rohan Budhiraja's avatar Rohan Budhiraja
Browse files
parents 21032f7b ffda7e90
No related branches found
No related tags found
No related merge requests found
...@@ -87,6 +87,9 @@ pkg_config_use_dependency(ros_bridge bullet) ...@@ -87,6 +87,9 @@ pkg_config_use_dependency(ros_bridge bullet)
pkg_config_use_dependency(ros_bridge dynamic_graph_bridge_msgs) pkg_config_use_dependency(ros_bridge dynamic_graph_bridge_msgs)
install(TARGETS ros_bridge DESTINATION lib) install(TARGETS ros_bridge DESTINATION lib)
# Add ros_bridge in the dynamic-graph-bridge pkg-config file.
# Make sure rpath are preserved during the install as ROS dependencies # Make sure rpath are preserved during the install as ROS dependencies
# are not installed. # are not installed.
set_target_properties(ros_bridge PROPERTIES BUILD_WITH_INSTALL_RPATH True set_target_properties(ros_bridge PROPERTIES BUILD_WITH_INSTALL_RPATH True
...@@ -169,7 +172,9 @@ add_subdirectory(src) ...@@ -169,7 +172,9 @@ add_subdirectory(src)
# Deal with the ROS part. # Deal with the ROS part.
add_service_files( FILES RunPythonFile.srv ) add_service_files( FILES RunPythonFile.srv )
generate_messages( DEPENDENCIES std_msgs ) generate_messages( DEPENDENCIES std_msgs )
catkin_package(CATKIN_DEPENDS message_runtime ) catkin_package(CATKIN_DEPENDS message_runtime LIBRARIES ros_bridge ros_interpreter)
# Add libraries in pc file generated by cmake submodule
PKG_CONFIG_APPEND_LIBS(ros_bridge ros_interpreter)
#install ros executables #install ros executables
install(PROGRAMS install(PROGRAMS
......
...@@ -13,10 +13,6 @@ ...@@ -13,10 +13,6 @@
<url>http://ros.org/wiki/dynamic_graph_bridge</url> <url>http://ros.org/wiki/dynamic_graph_bridge</url>
<export> <export>
<cpp
cflags="-I${prefix}/include"
lflags="-L${prefix}/lib -lros_bridge -lros_interpreter -Wl,-rpath,${prefix}/lib"
/>
<rosdoc config="rosdoc.yaml" /> <rosdoc config="rosdoc.yaml" />
</export> </export>
......
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