From 717a345f5d2c02ba4d8926dbd0decee29562cdcd Mon Sep 17 00:00:00 2001 From: ipa-fxm <felix.messmer@ipa.fhg.de> Date: Fri, 13 Mar 2015 16:34:13 +0100 Subject: [PATCH] catkin_lint --- ur_driver/CMakeLists.txt | 6 ++++-- ur_msgs/CMakeLists.txt | 10 +++++----- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/ur_driver/CMakeLists.txt b/ur_driver/CMakeLists.txt index 17790bf..b41109c 100644 --- a/ur_driver/CMakeLists.txt +++ b/ur_driver/CMakeLists.txt @@ -4,7 +4,7 @@ project(ur_driver) ## Find catkin macros and libraries ## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz) ## is used, also find other catkin packages -find_package(catkin REQUIRED dynamic_reconfigure) +find_package(catkin REQUIRED COMPONENTS dynamic_reconfigure) catkin_python_setup() @@ -16,7 +16,9 @@ generate_dynamic_reconfigure_options( ################################### ## catkin specific configuration ## ################################### -catkin_package() +catkin_package( + CATKIN_DEPENDS dynamic_reconfigure +) ############# ## Install ## diff --git a/ur_msgs/CMakeLists.txt b/ur_msgs/CMakeLists.txt index 20c5fef..96a6c57 100644 --- a/ur_msgs/CMakeLists.txt +++ b/ur_msgs/CMakeLists.txt @@ -8,25 +8,25 @@ find_package(catkin REQUIRED COMPONENTS message_generation std_msgs) ## Generate messages in the 'msg' folder - add_message_files( +add_message_files( FILES Analog.msg Digital.msg IOStates.msg RobotStateRTMsg.msg MasterboardDataMsg.msg - ) +) ## Generate services in the 'srv' folder - add_service_files( +add_service_files( FILES SetPayload.srv SetIO.srv - ) +) ## Generate added messages and services with any dependencies listed here - generate_messages( +generate_messages( DEPENDENCIES std_msgs ) -- GitLab