Skip to content

Commit

Permalink
Merge pull request #454 from emersonknapp/fix-ros2-deps
Browse files Browse the repository at this point in the history
Fix ROS2 dependencies and library install
  • Loading branch information
Taehun Lim authored Jul 26, 2019
2 parents c4053a9 + 01afa42 commit b47d586
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 2 additions & 0 deletions turtlebot3_bringup/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
<url type="repository">https://github.com/ROBOTIS-GIT/turtlebot3</url>
<url type="bugtracker">https://github.com/ROBOTIS-GIT/turtlebot3/issues</url>
<buildtool_depend>ament_cmake</buildtool_depend>
<depend>turtlebot3_description</depend>
<depend>turtlebot3_node</depend>
<export>
<build_type>ament_cmake</build_type>
</export>
Expand Down
11 changes: 9 additions & 2 deletions turtlebot3_node/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ add_library(${PROJECT_NAME}_LIB SHARED
"src/odometry.cpp"
)

set(DEPENDENCIES
set(DEPENDENCIES
"rclcpp"
"std_msgs"
"sensor_msgs"
Expand All @@ -74,6 +74,13 @@ ament_target_dependencies(${EXECUTABLE_NAME} ${dependencies})
################################################################################
# Install
################################################################################
install(TARGETS
${PROJECT_NAME}_LIB
ARCHIVE DESTINATION lib
LIBRARY DESTINATION lib
RUNTIME DESTINATION bin
)

install(TARGETS
${EXECUTABLE_NAME}
DESTINATION lib/${PROJECT_NAME}
Expand All @@ -82,4 +89,4 @@ install(TARGETS
################################################################################
# Macro for ament package
################################################################################
ament_package()
ament_package()

0 comments on commit b47d586

Please sign in to comment.