From 1c0393a5f9530d2e19bac5a3f9de9bdc2909f84a Mon Sep 17 00:00:00 2001 From: yul Date: Mon, 5 Feb 2024 06:26:33 +0100 Subject: [PATCH] . --- src/tutorial_pkg/src/CMakeLists.txt | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/tutorial_pkg/src/CMakeLists.txt b/src/tutorial_pkg/src/CMakeLists.txt index b01aa53..6aa1d89 100644 --- a/src/tutorial_pkg/src/CMakeLists.txt +++ b/src/tutorial_pkg/src/CMakeLists.txt @@ -4,12 +4,14 @@ project(tutorial_pkg) add_compile_options(-std=c++11) find_package(catkin REQUIRED COMPONENTS - roscpp - sensor_msgs + roscpp + sensor_msgs + std_msg + std_srvs ) catkin_package( - CATKIN_DEPENDS + CATKIN_DEPENDS ) include_directories(${catkin_INCLUDE_DIRS}) @@ -17,5 +19,4 @@ include_directories(${catkin_INCLUDE_DIRS}) add_executable(my_first_node src/my_first_node.cpp) target_link_libraries(my_first_node - ${catkin_LIBRARIES} -) + ${catkin_LIBRARIES}) \ No newline at end of file