Skip to content

Commit 97cb03a

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

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

723723
ament_export_dependencies(ament_cmake ament_cmake_ros_core)
724724

725+
if (NOT RCUTILS_NO_THREAD_SUPPORT)
726+
# Needed because micro-ROS is built statically
727+
ament_export_dependencies(Threads)
728+
endif()
729+
725730
ament_package()
726731

727732
install(

0 commit comments

Comments
 (0)