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