From e99a69d620c9c2405ff7598f15979de7b9f22c4f Mon Sep 17 00:00:00 2001 From: Daniel D'Souza Date: Thu, 9 Dec 2021 21:15:29 -0600 Subject: [PATCH] use correct syntax for add_message_files (#1) --- marti_introspection_msgs/CMakeLists.txt | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/marti_introspection_msgs/CMakeLists.txt b/marti_introspection_msgs/CMakeLists.txt index 04ba82c..9366250 100644 --- a/marti_introspection_msgs/CMakeLists.txt +++ b/marti_introspection_msgs/CMakeLists.txt @@ -5,11 +5,13 @@ find_package(catkin REQUIRED COMPONENTS message_generation std_msgs) -add_message_files(FILES - NodeInfo.msg - ParamInfo.msg - TopicInfo.msg - ServiceInfo.msg +add_message_files( + DIRECTORY msg + FILES + NodeInfo.msg + ParamInfo.msg + TopicInfo.msg + ServiceInfo.msg ) generate_messages(DEPENDENCIES