From 6a51dda52488577b99bb063a5af49b68c8294563 Mon Sep 17 00:00:00 2001 From: Thomas Moulard <thomas.moulard@gmail.com> Date: Wed, 11 Sep 2013 11:49:02 +0900 Subject: [PATCH] Look for Bullet as a system dependency --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index b285ccf..5ad6232 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) -- GitLab