Skip to content

Replace ament_target_dependencies with target_link_libraries #1039

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ahcorde
Copy link

@ahcorde ahcorde commented Jun 11, 2025

ament_target_dependencies is deprecated on kilted and removed in rolling, It will require a new release on rolling.

Signed-off-by: Alejandro Hernandez Cordero <acordero@clutterbot.com>
Comment on lines +66 to +67
${CMAKE_INSTALL_PREFIX}/lib/controller
${CMAKE_INSTALL_PREFIX}/../webots_ros2_driver/lib/controller
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure about this patch

@lukicdarkoo
Copy link
Member

@ahcorde Thank you for the PR. I believe we still need to use ament_target_dependencies for Humble and Jazzy?

@ahcorde
Copy link
Author

ahcorde commented Jun 18, 2025

@ahcorde Thank you for the PR. I believe we still need to use ament_target_dependencies for Humble and Jazzy?

target_link_libraries should be compatible with all, but not really sure if all required targets are available for humble and jazzy.

Best thing you can do it's to create branches for each distro as we are doing in core packages and configure mergify to backport features or fixes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants