Skip to content

Commit

Permalink
Add dependency on tf2_geometry_msgs (#67)
Browse files Browse the repository at this point in the history
The tf2 package depends on headers from this but does not actually
list it as a dependency; see ros/geometry2#275
  • Loading branch information
pjreed authored Nov 18, 2019
1 parent bc52864 commit fb164b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion novatel_gps_driver/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ find_package(swri_math_util REQUIRED)
find_package(swri_roscpp REQUIRED)
find_package(swri_serial_util REQUIRED)
find_package(tf2 REQUIRED)
find_package(tf2_geometry_msgs REQUIRED)

# Boost
find_package(Boost REQUIRED COMPONENTS system thread)
Expand Down Expand Up @@ -78,6 +79,7 @@ ament_target_dependencies(${PROJECT_NAME}
swri_roscpp
swri_serial_util
tf2
tf2_geometry_msgs
)

### ROS Node ###
Expand Down Expand Up @@ -147,4 +149,4 @@ ament_export_libraries(${PROJECT_NAME}
libpcap
)

ament_package()
ament_package()
1 change: 1 addition & 0 deletions novatel_gps_driver/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
<depend>swri_roscpp</depend>
<depend>swri_serial_util</depend>
<depend>tf2</depend>
<depend>tf2_geometry_msgs</depend>
<test_depend>ament_cmake_gtest</test_depend>
<test_depend>ament_index_cpp</test_depend>
<test_depend>ament_lint_auto</test_depend>
Expand Down

0 comments on commit fb164b1

Please sign in to comment.