build(test): link yaml-cpp into depth_camera_obstacle_layer_test

The test calls yaml-cpp directly; without it the link fails with "DSO missing from command line" when BUILD_COSTMAP_TESTS is ON.
This commit is contained in:
2026-10-28 13:43:56 +07:00
parent 757b381659
commit 3539afbfb4

View File

@@ -337,6 +337,7 @@ if(BUILD_COSTMAP_TESTS)
target_link_libraries(depth_camera_obstacle_layer_test PRIVATE
plugins
robot_costmap_2d
yaml-cpp
GTest::GTest
GTest::Main
)