File tree 2 files changed +7
-5
lines changed
2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -32,8 +32,7 @@ find_package(libmavconn REQUIRED)
32
32
33
33
find_package (eigen3_cmake_module REQUIRED)
34
34
find_package (Eigen3 REQUIRED)
35
- # find_package(yaml_cpp REQUIRED)
36
- find_package (yaml_cpp_vendor REQUIRED)
35
+ find_package (yaml-cpp REQUIRED)
37
36
38
37
## Find GeographicLib
39
38
# Append to CMAKE_MODULE_PATH since debian/ubuntu installs
@@ -146,7 +145,9 @@ ament_target_dependencies(mavros_extras_plugins
146
145
tf2_eigen
147
146
message_filters
148
147
Eigen3
149
- yaml_cpp_vendor
148
+ )
149
+ target_link_libraries (mavros_extras_plugins
150
+ yaml-cpp
150
151
)
151
152
pluginlib_export_plugin_description_file(mavros mavros_plugins.xml)
152
153
@@ -164,9 +165,11 @@ ament_target_dependencies(mavros_extras
164
165
sensor_msgs
165
166
mavros_msgs
166
167
#console_bridge
167
- yaml_cpp_vendor
168
168
urdf
169
169
)
170
+ target_link_libraries (mavros_extras
171
+ yaml-cpp
172
+ )
170
173
rclcpp_components_register_node(mavros_extras PLUGIN "mavros::extras::ServoStatePublisher" EXECUTABLE servo_state_publisher)
171
174
172
175
install (TARGETS mavros_extras mavros_extras_plugins
Original file line number Diff line number Diff line change 49
49
<depend >rcpputils</depend >
50
50
<depend >urdf</depend >
51
51
<depend >yaml-cpp</depend >
52
- <depend >yaml_cpp_vendor</depend >
53
52
54
53
<!-- message packages -->
55
54
<depend >diagnostic_msgs</depend >
You can’t perform that action at this time.
0 commit comments