Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dependency on yaml-cpp in mavros_extras #1988

Merged
merged 2 commits into from
Sep 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions mavros_extras/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ find_package(libmavconn REQUIRED)

find_package(eigen3_cmake_module REQUIRED)
find_package(Eigen3 REQUIRED)
# find_package(yaml_cpp REQUIRED)
find_package(yaml-cpp REQUIRED)
find_package(yaml_cpp_vendor REQUIRED)

## Find GeographicLib
Expand Down Expand Up @@ -132,6 +132,7 @@ add_library(mavros_extras_plugins SHARED
src/plugins/wheel_odometry.cpp
# [[[end]]] (checksum: 1f8cd51fa90b89b27ee35d276b5f8c83)
)
target_link_libraries(mavros_extras_plugins yaml-cpp::yaml-cpp)
ament_target_dependencies(mavros_extras_plugins
angles
geometry_msgs
Expand Down Expand Up @@ -164,6 +165,7 @@ add_library(mavros_extras SHARED
src/lib/servo_state_publisher.cpp
# [[[end]]] (checksum: a3ce43c71c567f697861bcbcd0f25aa3)
)
target_link_libraries(mavros_extras yaml-cpp::yaml-cpp)
ament_target_dependencies(mavros_extras
rclcpp
rclcpp_components
Expand Down Expand Up @@ -211,4 +213,4 @@ ament_export_dependencies(Eigen3)
#ament_export_targets(mavros_node)
ament_package()

# vim: ts=2 sw=2 et:
# vim: ts=2 sw=2 et:
Loading