Skip to content
Snippets Groups Projects
Commit d2acfa26 authored by Truong Giang Vo's avatar Truong Giang Vo
Browse files

Replace CMakeLists.txt

parent 2a3010ff
No related branches found
No related tags found
1 merge request!10Giang
......@@ -109,10 +109,10 @@ find_package(catkin REQUIRED COMPONENTS
## CATKIN_DEPENDS: catkin_packages dependent projects also need
## DEPENDS: system dependencies of this project that dependent projects also need
catkin_package(
# INCLUDE_DIRS include
INCLUDE_DIRS include
# LIBRARIES ttt_executor
CATKIN_DEPENDS roscpp std_msgs sensor_msgs geometry_msgs iri_wam_common_msgs iri_common_drivers_msgs
# DEPENDS system_lib
DEPENDS system_lib
)
###########
......@@ -139,7 +139,7 @@ catkin_package(
## Declare a C++ executable
## With catkin_make all packages are built within a single CMake context
## The recommended prefix ensures that target names across packages don't collide
add_executable(${PROJECT_NAME}_node src/ttt_executor_node.cpp)
add_executable(ttt_executor_node src/ttt_executor_node.cpp)
## Rename C++ executable without prefix
## The above recommended prefix causes long target names, the following renames the
......@@ -152,7 +152,7 @@ catkin_package(
# add_dependencies(${PROJECT_NAME}_node ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
## Specify libraries to link a library or executable target against
target_link_libraries(${PROJECT_NAME}_node
target_link_libraries(ttt_executor_node
${catkin_LIBRARIES}
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment