From 5cb6c2d502d31c8b929d592cd404948966094ee1 Mon Sep 17 00:00:00 2001 From: Chris Lalancette Date: Wed, 23 Aug 2023 19:43:54 -0400 Subject: [PATCH] Add rcl_logging_interface as an explicit dependency. (#2284) It is depended on by rclcpp/src/rclcpp/logger.cpp, but the dependency was not explicitly declared (it was being inherited from rcl, I believe). Fix that here. Signed-off-by: Chris Lalancette --- rclcpp/CMakeLists.txt | 2 ++ rclcpp/package.xml | 1 + 2 files changed, 3 insertions(+) diff --git a/rclcpp/CMakeLists.txt b/rclcpp/CMakeLists.txt index 3b515b6aa4..a150a0ab68 100644 --- a/rclcpp/CMakeLists.txt +++ b/rclcpp/CMakeLists.txt @@ -10,6 +10,7 @@ find_package(builtin_interfaces REQUIRED) find_package(libstatistics_collector REQUIRED) find_package(rcl REQUIRED) find_package(rcl_interfaces REQUIRED) +find_package(rcl_logging_interface REQUIRED) find_package(rcl_yaml_param_parser REQUIRED) find_package(rcpputils REQUIRED) find_package(rcutils REQUIRED) @@ -208,6 +209,7 @@ ament_target_dependencies(${PROJECT_NAME} "libstatistics_collector" "rcl" "rcl_interfaces" + "rcl_logging_interface" "rcl_yaml_param_parser" "rcpputils" "rcutils" diff --git a/rclcpp/package.xml b/rclcpp/package.xml index b3384fa629..e1c272d949 100644 --- a/rclcpp/package.xml +++ b/rclcpp/package.xml @@ -35,6 +35,7 @@ libstatistics_collector rcl + rcl_logging_interface rcl_yaml_param_parser rcpputils rcutils