Skip to content

Bugfix: Remove ament_target_dependencies calls from CMakeLists.txt files#53

Open
gaerisen wants to merge 1 commit into
odriverobotics:mainfrom
gaerisen:bugfix/remove_ament_target_dependencies
Open

Bugfix: Remove ament_target_dependencies calls from CMakeLists.txt files#53
gaerisen wants to merge 1 commit into
odriverobotics:mainfrom
gaerisen:bugfix/remove_ament_target_dependencies

Conversation

@gaerisen

Copy link
Copy Markdown

ament_target_dependencies() has been deprecated since Kilted, and has been removed from Lyrical entirely, causing builds to fail. Remove all ament_target_dependencies() calls and use target_link_libraries() with modern CMake target specifiers instead.

For the curious, this thread discusses why the change was made and why target_link_libraries is functionally equivalent.

I couldn't find any explicit mention of Lyrical support (README just indicates '>=Humble'), but this has been my only problem so far.

@CLAassistant

CLAassistant commented Jun 23, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants