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:
rclcpp/CMakeLists.txt
rclcpp_action/CMakeLists.txt
rclcpp_components/CMakeLists.txt
rclcpp_lifecycle/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:rclcpp/CMakeLists.txtrclcpp_action/CMakeLists.txtrclcpp_components/CMakeLists.txtrclcpp_lifecycle/CMakeLists.txt