Skip to content

Commit e510c3e

Browse files
committed
fixing the build
1 parent 79d62ea commit e510c3e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ find_package(tf2_ros REQUIRED)
1616
find_package(nav2_msgs REQUIRED)
1717
find_package(std_srvs REQUIRED)
1818
find_package(yaml_cpp_vendor REQUIRED)
19+
find_package(yaml-cpp REQUIRED)
1920

2021
# uncomment the following section in order to fill in
2122
# further dependencies manually.
@@ -33,6 +34,8 @@ ament_target_dependencies(neo_docking2
3334
std_srvs
3435
)
3536

37+
target_link_libraries(neo_docking2 yaml-cpp::yaml-cpp)
38+
3639
target_include_directories(neo_docking2 PUBLIC
3740
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
3841
$<INSTALL_INTERFACE:include>)

0 commit comments

Comments
 (0)