From cc6e0980cbc14b0fb790fe01a17faad74d00720c Mon Sep 17 00:00:00 2001 From: Rohan Budhiraja <budhiraja@laas.fr> Date: Tue, 21 Jun 2016 11:13:48 +0200 Subject: [PATCH] [cmake] modify dependencies --- CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b3d0966..cc8407e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -60,6 +60,7 @@ set(PKG_CONFIG_ADDITIONAL_VARIABLES ) add_required_dependency(roscpp) +add_required_dependency(tf) add_required_dependency("realtime_tools >= 1.8") add_required_dependency(bullet) ADD_REQUIRED_DEPENDENCY("pinocchio") @@ -164,8 +165,8 @@ pkg_config_use_dependency(interpreter dynamic_graph_bridge_msgs) # Stand alone embedded intepreter with a robot controller. add_executable(geometric_simu src/geometric_simu.cpp src/sot_loader.cpp) -pkg_config_use_dependency(geometric_simu roscpp) -target_link_libraries(geometric_simu ros_bridge ${Boost_LIBRARIES} ${CMAKE_DL_LIBS}) +pkg_config_use_dependency(geometric_simu roscpp tf) +target_link_libraries(geometric_simu ros_bridge tf ${Boost_LIBRARIES} ${CMAKE_DL_LIBS}) # Sot loader library add_library(sot_loader src/sot_loader.cpp) -- GitLab