From d91d6a01fe5c840a657301fa3fa39795b4538f27 Mon Sep 17 00:00:00 2001 From: Carl Delsey Date: Fri, 5 Oct 2018 17:10:40 -0700 Subject: [PATCH] Export tf2 dependency from tf2_ros tf2_ros brings in tf2 headers. This dependency was not being exported before. As a consequence of this, if a package included the tf2_ros package and included the `transform_listener.h` header, the package would fail to compile. --- tf2_ros/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/tf2_ros/CMakeLists.txt b/tf2_ros/CMakeLists.txt index 732cee983..789fb7e4f 100644 --- a/tf2_ros/CMakeLists.txt +++ b/tf2_ros/CMakeLists.txt @@ -180,4 +180,5 @@ ament_export_include_directories(include) ament_export_libraries(${PROJECT_NAME}) ament_export_dependencies(rclcpp) ament_export_dependencies(tf2_msgs) +ament_export_dependencies(tf2) ament_package()