From 42e6433f796872a78cd82123c1109e194c18234a Mon Sep 17 00:00:00 2001 From: Sai Kishor Kothakota Date: Sat, 9 Nov 2024 09:00:03 +0000 Subject: [PATCH] FIx missing lines --- controller_manager/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/controller_manager/CMakeLists.txt b/controller_manager/CMakeLists.txt index e97964a59f..fea7f9bd6d 100644 --- a/controller_manager/CMakeLists.txt +++ b/controller_manager/CMakeLists.txt @@ -171,6 +171,10 @@ if(BUILD_TESTING) test/test_spawner_unspawner.cpp TIMEOUT 120 ) + target_include_directories(test_spawner_unspawner PRIVATE include) + target_link_libraries(test_spawner_unspawner ${PROJECT_NAME} test_controller) + ament_target_dependencies(test_spawner_unspawner ros2_control_test_assets) + ament_add_gmock(test_hardware_spawner test/test_hardware_spawner.cpp TIMEOUT 120