diff --git a/CMakeLists.txt b/CMakeLists.txt index b285ccf184642fe3c1dfe70809ecf384abc07b81..5ad623220d92b7ea663617b6985b7d8cdb552fe1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,6 +23,8 @@ set(PKG_CONFIG_ADDITIONAL_VARIABLES plugindir ) +add_required_dependency(bullet) + add_required_dependency(jrl-mal) add_required_dependency(dynamic-graph) add_required_dependency(dynamic-graph-python) @@ -36,6 +38,7 @@ rosbuild_add_library(ros_bridge include/dynamic_graph_bridge/ros_init.hh src/ros_init.cpp src/sot_to_ros.hh src/sot_to_ros.cpp ) +pkg_config_use_dependency(ros_bridge bullet) # 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)