From 82dbd3744bd51dc74cc9b0fa41c720a7ea3b4189 Mon Sep 17 00:00:00 2001 From: yul Date: Mon, 5 Feb 2024 06:17:53 +0100 Subject: [PATCH] . --- src/tutorial_pkg/CMakeLists.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/tutorial_pkg/CMakeLists.txt b/src/tutorial_pkg/CMakeLists.txt index 579797d..513a0e2 100644 --- a/src/tutorial_pkg/CMakeLists.txt +++ b/src/tutorial_pkg/CMakeLists.txt @@ -4,11 +4,14 @@ project(tutorial_pkg) add_compile_options(-std=c++11) find_package(catkin REQUIRED COMPONENTS - roscpp + roscpp + sensor_msgs + std_msg + std_srvs ) catkin_package( - CATKIN_DEPENDS + CATKIN_DEPENDS ) include_directories(${catkin_INCLUDE_DIRS}) @@ -16,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