From 7ab1632d4aa5cba5ce3b853eab8ee10cf03009d8 Mon Sep 17 00:00:00 2001 From: Christian Forster Date: Mon, 5 May 2014 00:19:03 +0200 Subject: [PATCH] fixes to build on ROS Indigo --- svo/CMakeLists.txt | 2 +- svo/package.xml | 1 + svo_ros/CMakeLists.txt | 14 +++++++++++++- svo_ros/package.xml | 1 + 4 files changed, 16 insertions(+), 2 deletions(-) diff --git a/svo/CMakeLists.txt b/svo/CMakeLists.txt index 70a5583..6bd0db1 100644 --- a/svo/CMakeLists.txt +++ b/svo/CMakeLists.txt @@ -49,7 +49,7 @@ ELSE() ENDIF() # Add catkin and required ROS packages -FIND_PACKAGE(catkin REQUIRED COMPONENTS roscpp roslib vikit_common vikit_ros) +FIND_PACKAGE(catkin REQUIRED COMPONENTS roscpp roslib cmake_modules vikit_common vikit_ros) # Add plain cmake packages FIND_PACKAGE(G2O REQUIRED) diff --git a/svo/package.xml b/svo/package.xml index d51d015..4d71cb3 100644 --- a/svo/package.xml +++ b/svo/package.xml @@ -13,6 +13,7 @@ catkin + cmake_modules roscpp roslib vikit_common diff --git a/svo_ros/CMakeLists.txt b/svo_ros/CMakeLists.txt index 192de3c..a490881 100644 --- a/svo_ros/CMakeLists.txt +++ b/svo_ros/CMakeLists.txt @@ -14,7 +14,19 @@ ENDIF() # Add catkin and required ROS packages FIND_PACKAGE(catkin REQUIRED COMPONENTS - roscpp nav_msgs std_msgs visualization_msgs sensor_msgs image_transport cv_bridge tf svo svo_msgs vikit_common vikit_ros + roscpp + cmake_modules + nav_msgs + std_msgs + visualization_msgs + sensor_msgs + image_transport + cv_bridge + tf + svo + svo_msgs + vikit_common + vikit_ros ) # Add plain cmake packages diff --git a/svo_ros/package.xml b/svo_ros/package.xml index efc72e0..aaa8fd3 100644 --- a/svo_ros/package.xml +++ b/svo_ros/package.xml @@ -14,6 +14,7 @@ roscpp + cmake_modules nav_msgs std_msgs visualization_msgs