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