Skip to content
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

updated CMakeLists.txt to generate custom interfaces with ros-humble #2

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

Conversation

ipa-rar
Copy link

@ipa-rar ipa-rar commented Aug 3, 2022

Replaced rosidl_target_interfaces(node_name ${PROJECT_NAME} "rosidl_typesupport_cpp") for ros distros Humble and above with

rosidl_get_typesupport_target(cpp_typesupport_target ${PROJECT_NAME} "rosidl_typesupport_cpp")
target_link_libraries(name_name "${cpp_typesupport_target}")

Reference

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.

1 participant