Skip to content

Commit a8d65e5

Browse files
authored
Export Threads dependency (backport #63) (#64)
Signed-off-by: David Laseca Perez <davidlaseca@eprosima.com>
1 parent be1ef38 commit a8d65e5

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎CMakeLists.txt‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -712,6 +712,11 @@ ament_export_targets(${PROJECT_NAME})
712712

713713
ament_export_dependencies(ament_cmake ament_cmake_ros_core)
714714

715+
if (NOT RCUTILS_NO_THREAD_SUPPORT)
716+
# Needed because micro-ROS is built statically
717+
ament_export_dependencies(Threads)
718+
endif()
719+
715720
ament_package()
716721

717722
install(

0 commit comments

Comments
 (0)