Skip to content

Commit 2af780a

Browse files
Michael Carrollcottsay
andauthored
Switch to ament_cmake_ros_core package (ros2#489)
Signed-off-by: Scott K Logan <logans@cottsay.net> Co-authored-by: Scott K Logan <logans@cottsay.net>
1 parent 128f29d commit 2af780a

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ endif()
1313

1414
include(CheckLibraryExists)
1515

16+
find_package(ament_cmake REQUIRED)
1617
find_package(ament_cmake_python REQUIRED)
17-
find_package(ament_cmake_ros REQUIRED)
18+
find_package(ament_cmake_ros_core REQUIRED)
1819

1920
# By default, without the settings below, find_package(Python3) will attempt
2021
# to find the newest python version it can, and additionally will find the

package.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313

1414
<author email="karsten@osrfoundation.org">Karsten Knese</author>
1515

16-
<buildtool_depend>ament_cmake_ros</buildtool_depend>
16+
<buildtool_depend>ament_cmake</buildtool_depend>
17+
<buildtool_depend>ament_cmake_ros_core</buildtool_depend>
1718
<buildtool_depend>python3-empy</buildtool_depend>
1819

1920
<depend>libatomic</depend>

0 commit comments

Comments
 (0)