We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2244b65 commit 19bea93Copy full SHA for 19bea93
greenwave_monitor/CMakeLists.txt
@@ -21,6 +21,7 @@ endif()
21
22
# find dependencies
23
find_package(ament_cmake_auto REQUIRED)
24
+find_package(yaml-cpp REQUIRED)
25
ament_auto_find_build_dependencies()
26
27
# Add message_diagnostics.hpp as a header-only library
@@ -35,10 +36,13 @@ ament_target_dependencies(greenwave_monitor
35
36
std_msgs
37
diagnostic_msgs
38
greenwave_monitor_interfaces
- yaml_cpp_vendor
39
ament_index_cpp
40
+ yaml_cpp_vendor
41
+)
42
+target_link_libraries(greenwave_monitor
43
+ message_diagnostics
44
+ yaml-cpp
45
)
-target_link_libraries(greenwave_monitor message_diagnostics)
46
47
target_include_directories(greenwave_monitor PUBLIC
48
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
0 commit comments