Skip to content

Export Threads dependency (backport #63) - #64

Open
mergify[bot] wants to merge 1 commit into
lyricalfrom
mergify/bp/lyrical/pr-63
Open

mergify[bot] wants to merge 1 commit into
lyricalfrom
mergify/bp/lyrical/pr-63

Conversation

@mergify

@mergify mergify Bot commented Sep 14, 2026

Copy link
Copy Markdown

Description

The Threads dependency added in ros2#579 and gated in #56 causes errors in consumers because they cannot resolve the Threads::Threads target in the static micro-ROS build. Because of this type of build, CMake forwards the PRIVATE Threads::Threads to the consumers, which makes it appear in rcutilsExport.cmake but undefined since Threads was not exported.

This PR solves this by exporting the target when the build needs it (RCUTILS_NO_THREAD_SUPPORT=OFF).


This is an automatic backport of pull request #63 done by Mergify.

Signed-off-by: David Laseca Perez <davidlaseca@eprosima.com>
(cherry picked from commit 97cb03a)
@mergify mergify Bot mentioned this pull request Sep 14, 2026
@mergify

mergify Bot commented Sep 14, 2026

Copy link
Copy Markdown
Author

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

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