Skip to content

Commit b93280b

Browse files
committed
Export Threads dependency (#63)
Signed-off-by: David Laseca Perez <davidlaseca@eprosima.com>
1 parent 071afb4 commit b93280b

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
@@ -718,6 +718,11 @@ ament_export_targets(${PROJECT_NAME})
718718

719719
ament_export_dependencies(ament_cmake ament_cmake_ros_core)
720720

721+
if (NOT RCUTILS_NO_THREAD_SUPPORT)
722+
# Needed because micro-ROS is built statically
723+
ament_export_dependencies(Threads)
724+
endif()
725+
721726
ament_package()
722727

723728
install(

0 commit comments

Comments
 (0)