-
Notifications
You must be signed in to change notification settings - Fork 128
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
Using rosidl_target_interfaces
incompatible with keyword target_link_libraries
command
#400
Comments
Sounds reasonable. Are you planning to open a PR with the fix? |
I'll aim to put an initial attempt together sometime this week. If anyone else sees this though and there's been no activity, you can safely assume I haven't started working on it yet and you're welcome to take a stab at it. |
@jdlangs Any update on this? |
I just hit this issue. And, if anyone needed a immediate workaround, here is what I did. |
Any update for this issue? |
The issue is tagged as |
As an alternative, why not declare a Modern CMake target that would make
In things like RobotLocomotion/drake-ros#153, I see thus usage of I believe this may connect w/ @sloretz's points in ament/ament_cmake#292 |
That's the eventual goal. I swear I remember us trying and failing to do this for Humble (as part of ros2/ros2#1150), but I can't find the relevant PRs right now. Maybe @sloretz remembers working on this and can find the relevant PRs. |
Ah, gotcha. Yeah, knowing the correct modern target would be great! |
Bug report
Required Info:
Similar to the problem I previous encountered with
ament_target_dependencies
, therosidl_target_interfaces
macro callstarget_link_libraries
with the non-keyword format, which is incompatible with additional calls that do use the keyword format on the same target.That issue was resolved by adding an optional keyword form to
ament_target_dependencies
. Could the same thing be done here forrosidl_target_interfaces
?The text was updated successfully, but these errors were encountered: