From 168f4cc53fc792ad8db2f7bc5b8dd42f679e734b Mon Sep 17 00:00:00 2001 From: Michael Grupp <grupp@magazino.eu> Date: Tue, 10 Jul 2018 20:04:00 +0200 Subject: [PATCH] List files explicitly in cartographer_ros_msgs/CMakeLists.txt (#927) `DIRECTORY` by itself doesn't work as reliable as expected. --- cartographer_ros_msgs/CMakeLists.txt | 32 ++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/cartographer_ros_msgs/CMakeLists.txt b/cartographer_ros_msgs/CMakeLists.txt index 15c1fbc..dcdbc51 100644 --- a/cartographer_ros_msgs/CMakeLists.txt +++ b/cartographer_ros_msgs/CMakeLists.txt @@ -24,18 +24,38 @@ set(PACKAGE_DEPENDENCIES find_package(catkin REQUIRED COMPONENTS message_generation ${PACKAGE_DEPENDENCIES}) add_message_files( - DIRECTORY - msg + DIRECTORY msg + FILES + LandmarkEntry.msg + LandmarkList.msg + SensorTopics.msg + StatusCode.msg + StatusResponse.msg + SubmapEntry.msg + SubmapList.msg + SubmapTexture.msg + TrajectoryOptions.msg + TrajectoryStates.msg ) add_message_files( - DIRECTORY - msg/metrics + DIRECTORY msg/metrics + FILES + HistogramBucket.msg + MetricFamily.msg + MetricLabel.msg + Metric.msg ) add_service_files( - DIRECTORY - srv + DIRECTORY srv + FILES + FinishTrajectory.srv + GetTrajectoryStates.srv + ReadMetrics.srv + StartTrajectory.srv + SubmapQuery.srv + WriteState.srv ) generate_messages(