From a23b3d3493e4af4e6cfe50493faace4a125ca7b4 Mon Sep 17 00:00:00 2001 From: Kenji Brameld Date: Fri, 1 Dec 2023 05:02:13 +0000 Subject: [PATCH] fix Signed-off-by: Kenji Brameld --- nao_lola_client/CMakeLists.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/nao_lola_client/CMakeLists.txt b/nao_lola_client/CMakeLists.txt index 759a5c6..80c7755 100644 --- a/nao_lola_client/CMakeLists.txt +++ b/nao_lola_client/CMakeLists.txt @@ -28,7 +28,8 @@ set(THIS_PACKAGE_INCLUDE_DEPENDS rclcpp rclcpp_components nao_lola_sensor_msgs - nao_lola_command_msgs) + nao_lola_command_msgs + sensor_msgs) # build msgpack_parser_lib add_library(msgpack_parser_lib SHARED @@ -53,12 +54,10 @@ add_library(nao_lola_client_node SHARED src/nao_lola_client.cpp src/connection.cpp src/conversion.cpp) - -ament_target_dependencies(nao_lola_client_node sensor_msgs) target_link_libraries(nao_lola_client_node msgpack_parser_lib msgpack_packer_lib) -ament_target_dependencies(nao_lola_client_node rclcpp_components) +ament_target_dependencies(nao_lola_client_node sensor_msgs rclcpp_components) rclcpp_components_register_node(nao_lola_client_node PLUGIN "NaoLolaClient"