File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 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
@@ -153,7 +152,9 @@ ament_target_dependencies(mavros_extras_plugins
153
152
tf2_eigen
154
153
message_filters
155
154
Eigen3
156
- yaml_cpp_vendor
155
+ )
156
+ target_link_libraries (mavros_extras_plugins
157
+ yaml-cpp
157
158
)
158
159
pluginlib_export_plugin_description_file (mavros mavros_plugins.xml )
159
160
@@ -171,9 +172,11 @@ ament_target_dependencies(mavros_extras
171
172
sensor_msgs
172
173
mavros_msgs
173
174
#console_bridge
174
- yaml_cpp_vendor
175
175
urdf
176
176
)
177
+ target_link_libraries (mavros_extras
178
+ yaml-cpp
179
+ )
177
180
rclcpp_components_register_node (mavros_extras PLUGIN "mavros::extras::ServoStatePublisher" EXECUTABLE servo_state_publisher )
178
181
179
182
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