Skip to content

Commit

Permalink
Remove additional uses of fastrtps_cmake_module.
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Lalancette <[email protected]>
  • Loading branch information
clalancette committed Dec 9, 2024
1 parent 95cdace commit 1f27491
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ if(NOT TARGET ${rosidl_generate_interfaces_TARGET}__rosidl_generator_c)
endif()

find_package(ament_cmake_ros REQUIRED)
find_package(fastrtps_cmake_module QUIET)
find_package(fastcdr 2 REQUIRED CONFIG)
find_package(rosidl_typesupport_interface REQUIRED)
find_package(rosidl_typesupport_fastrtps_cpp REQUIRED)
Expand Down Expand Up @@ -188,7 +187,6 @@ if(NOT rosidl_generate_interfaces_SKIP_INSTALL)
RUNTIME DESTINATION bin
)

ament_export_dependencies(fastrtps_cmake_module)
ament_export_dependencies(fastcdr)
ament_export_dependencies(rosidl_runtime_c)
ament_export_dependencies(rosidl_runtime_cpp)
Expand Down
1 change: 0 additions & 1 deletion rosidl_typesupport_fastrtps_c/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

<!-- Used in the projectConfig.cmake or generator extension and only needed by CMake -->
<buildtool_export_depend>ament_cmake_ros</buildtool_export_depend>
<buildtool_export_depend>fastrtps_cmake_module</buildtool_export_depend>
<buildtool_export_depend>python3</buildtool_export_depend>

<!-- Generator depends on output of this other generator -->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# generated from
# rosidl_typesupport_fastrtps_c/rosidl_typesupport_fastrtps_c-extras.cmake.in

find_package(fastrtps_cmake_module QUIET)
find_package(fastcdr 2 REQUIRED CONFIG)

if(NOT fastcdr_FOUND)
Expand Down
7 changes: 0 additions & 7 deletions rosidl_typesupport_fastrtps_cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,7 @@ endif()

find_package(ament_cmake_ros REQUIRED)

find_package(fastrtps_cmake_module QUIET)
find_package(fastcdr 2 REQUIRED CONFIG)
if(FASTRTPS_STATIC_DISABLE)
ament_package()
message(STATUS "fastrtps static rmw implementation explicitly disabled - skipping '${PROJECT_NAME}'")
return()
endif()

find_package(ament_cmake_python REQUIRED)

Expand All @@ -37,7 +31,6 @@ find_package(rosidl_runtime_c REQUIRED)

ament_export_dependencies(rmw)
ament_export_dependencies(rosidl_runtime_c)
ament_export_dependencies(fastrtps_cmake_module)
ament_export_dependencies(fastcdr)

ament_python_install_package(${PROJECT_NAME})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ if(NOT TARGET ${rosidl_generate_interfaces_TARGET}__rosidl_generator_cpp)
endif()

find_package(ament_cmake_ros REQUIRED)
find_package(fastrtps_cmake_module QUIET)
find_package(fastcdr 2 REQUIRED CONFIG)
find_package(rmw REQUIRED)
find_package(rosidl_runtime_c REQUIRED)
Expand Down Expand Up @@ -207,7 +206,6 @@ if(NOT rosidl_generate_interfaces_SKIP_INSTALL)
RUNTIME DESTINATION bin
)

ament_export_dependencies(fastrtps_cmake_module)
ament_export_dependencies(fastcdr)
ament_export_dependencies(rmw)
ament_export_dependencies(rosidl_runtime_c)
Expand Down
2 changes: 0 additions & 2 deletions rosidl_typesupport_fastrtps_cpp/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,9 @@
<!-- Used in the CMakeLists.txt of this package and only needed by CMake-->
<buildtool_depend>ament_cmake_ros</buildtool_depend>
<buildtool_depend>ament_cmake_python</buildtool_depend>
<buildtool_depend>fastrtps_cmake_module</buildtool_depend>

<!-- Used in the projectConfig.cmake or generator extension and only needed by CMake -->
<buildtool_export_depend>ament_cmake_ros</buildtool_export_depend>
<buildtool_export_depend>fastrtps_cmake_module</buildtool_export_depend>
<buildtool_export_depend>python3</buildtool_export_depend>

<!-- Generator depends on output of this other generator -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# rosidl_typesupport_fastrtps_cpp/
# rosidl_typesupport_fastrtps_cpp-extras.cmake.in

find_package(fastrtps_cmake_module QUIET)
find_package(fastcdr 2 REQUIRED CONFIG)

if(NOT fastcdr_FOUND)
Expand Down

0 comments on commit 1f27491

Please sign in to comment.