From d97942f94e0faffbd7f929e88d2494cb23d2f22c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=2E=20Fatih=20C=C4=B1r=C4=B1t?= Date: Thu, 22 Feb 2024 18:40:11 +0300 Subject: [PATCH] fix test_pub cmakelists MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: M. Fatih Cırıt --- common/test_node/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/test_node/CMakeLists.txt b/common/test_node/CMakeLists.txt index 6392f29445..578ffeeb01 100644 --- a/common/test_node/CMakeLists.txt +++ b/common/test_node/CMakeLists.txt @@ -21,7 +21,7 @@ rclcpp_components_register_node(${library_name} PLUGIN "test_node::TestNode" EXECUTABLE ${executable_name}) -add_executable(test_pub src/test_pub.cpp) +ament_auto_add_executable(test_pub src/test_pub.cpp) ament_target_dependencies(test_pub rclcpp std_msgs)