This commit is contained in:
parent
6a9821bf39
commit
82dbd3744b
|
@ -4,11 +4,14 @@ project(tutorial_pkg)
|
||||||
add_compile_options(-std=c++11)
|
add_compile_options(-std=c++11)
|
||||||
|
|
||||||
find_package(catkin REQUIRED COMPONENTS
|
find_package(catkin REQUIRED COMPONENTS
|
||||||
roscpp
|
roscpp
|
||||||
|
sensor_msgs
|
||||||
|
std_msg
|
||||||
|
std_srvs
|
||||||
)
|
)
|
||||||
|
|
||||||
catkin_package(
|
catkin_package(
|
||||||
CATKIN_DEPENDS
|
CATKIN_DEPENDS
|
||||||
)
|
)
|
||||||
|
|
||||||
include_directories(${catkin_INCLUDE_DIRS})
|
include_directories(${catkin_INCLUDE_DIRS})
|
||||||
|
@ -16,5 +19,4 @@ include_directories(${catkin_INCLUDE_DIRS})
|
||||||
add_executable(my_first_node src/my_first_node.cpp)
|
add_executable(my_first_node src/my_first_node.cpp)
|
||||||
|
|
||||||
target_link_libraries(my_first_node
|
target_link_libraries(my_first_node
|
||||||
${catkin_LIBRARIES}
|
${catkin_LIBRARIES}
|
||||||
)
|
|
Loading…
Reference in New Issue