From 3539afbfb4e6dccefe16b1b20d89e03076c8e50f Mon Sep 17 00:00:00 2001 From: duongtd Date: Wed, 28 Oct 2026 13:43:56 +0700 Subject: [PATCH] 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. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8917b40..691c91b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 )