Skip to content

Commit fb2f720

Browse files
authored
Switch to ament_cmake_ros_core package (#856)
Signed-off-by: Scott K Logan <[email protected]>
1 parent 078e685 commit fb2f720

File tree

6 files changed

+10
-6
lines changed

6 files changed

+10
-6
lines changed

rosidl_generator_c/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang")
1111
add_compile_options(-Wall -Wextra -Wpedantic)
1212
endif()
1313

14+
find_package(ament_cmake REQUIRED)
1415
find_package(ament_cmake_python REQUIRED)
15-
find_package(ament_cmake_ros REQUIRED)
16+
find_package(ament_cmake_ros_core REQUIRED)
1617

1718
ament_export_dependencies(rosidl_typesupport_interface)
1819
ament_index_register_resource("rosidl_generator_packages")

rosidl_generator_c/package.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@
1717
<author email="[email protected]">Michel Hidalgo</author>
1818
<author email="[email protected]">William Woodall</author>
1919

20+
<buildtool_depend>ament_cmake</buildtool_depend>
2021
<buildtool_depend>ament_cmake_python</buildtool_depend>
21-
<buildtool_depend>ament_cmake_ros</buildtool_depend>
22+
<buildtool_depend>ament_cmake_ros_core</buildtool_depend>
2223

2324
<buildtool_export_depend>ament_cmake_core</buildtool_export_depend>
2425
<buildtool_export_depend>python3</buildtool_export_depend>

rosidl_generator_type_description/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.12)
33
project(rosidl_generator_type_description)
44

55
find_package(ament_cmake_python REQUIRED)
6-
find_package(ament_cmake_ros REQUIRED)
6+
find_package(ament_cmake_ros_core REQUIRED)
77

88
ament_index_register_resource("rosidl_generator_packages")
99
ament_python_install_package(${PROJECT_NAME})

rosidl_generator_type_description/package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<author email="[email protected]">Emerson Knapp</author>
1313

1414
<buildtool_depend>ament_cmake_python</buildtool_depend>
15-
<buildtool_depend>ament_cmake_ros</buildtool_depend>
15+
<buildtool_depend>ament_cmake_ros_core</buildtool_depend>
1616

1717
<buildtool_export_depend>ament_cmake_core</buildtool_export_depend>
1818
<buildtool_export_depend>python3</buildtool_export_depend>

rosidl_runtime_c/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang")
1717
add_compile_options(-Wall -Wextra -Wpedantic)
1818
endif()
1919

20-
find_package(ament_cmake_ros REQUIRED)
20+
find_package(ament_cmake REQUIRED)
21+
find_package(ament_cmake_ros_core REQUIRED)
2122
find_package(rcutils REQUIRED)
2223
find_package(rosidl_typesupport_interface REQUIRED)
2324

rosidl_runtime_c/package.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
<author email="[email protected]">Michel Hidalgo</author>
1818
<author email="[email protected]">William Woodall</author>
1919

20-
<buildtool_depend>ament_cmake_ros</buildtool_depend>
20+
<buildtool_depend>ament_cmake</buildtool_depend>
21+
<buildtool_depend>ament_cmake_ros_core</buildtool_depend>
2122

2223
<build_depend>rosidl_typesupport_interface</build_depend>
2324

0 commit comments

Comments
 (0)