We use ament_export_targets() to export modern CMake targets. Downstream packages should use these modern CMake targets instead of old CMake variables. Because the packages below already call ament_export_targets(), we can delete the ament_export_include_directories() and ament_export_libraries() calls.
Modify the following files and delete the ament_export_include_directories() and ament_export_libraries() calls:
tf2/CMakeLists.txt
tf2_eigen/CMakeLists.txt
tf2_eigen_kdl/CMakeLists.txt
tf2_geometry_msgs/CMakeLists.txt
tf2_kdl/CMakeLists.txt
tf2_ros/CMakeLists.txt
We use
ament_export_targets()to export modern CMake targets. Downstream packages should use these modern CMake targets instead of old CMake variables. Because the packages below already callament_export_targets(), we can delete theament_export_include_directories()andament_export_libraries()calls.Modify the following files and delete the
ament_export_include_directories()andament_export_libraries()calls:tf2/CMakeLists.txttf2_eigen/CMakeLists.txttf2_eigen_kdl/CMakeLists.txttf2_geometry_msgs/CMakeLists.txttf2_kdl/CMakeLists.txttf2_ros/CMakeLists.txt