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:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user