Skip to content

Commit 16af6a2

Browse files
committed
restore tests and add missing ament_index_cpp to CMakeLists
1 parent 2360f65 commit 16af6a2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

opennav_coverage/CMakeLists.txt

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 3.5)
22
project(opennav_coverage)
33

44
find_package(ament_cmake REQUIRED)
5+
find_package(ament_index_cpp REQUIRED)
56
find_package(rclcpp REQUIRED)
67
find_package(rclcpp_action REQUIRED)
78
find_package(rclcpp_lifecycle REQUIRED)
@@ -29,6 +30,7 @@ set(executable_name opennav_coverage)
2930
set(library_name ${executable_name}_core)
3031

3132
set(dependencies
33+
ament_index_cpp
3234
rclcpp
3335
rclcpp_action
3436
rclcpp_lifecycle
@@ -95,7 +97,7 @@ if(BUILD_TESTING)
9597
find_package(ament_lint_auto REQUIRED)
9698
find_package(ament_cmake_gtest REQUIRED)
9799
ament_lint_auto_find_test_dependencies()
98-
# add_subdirectory(test)
100+
add_subdirectory(test)
99101
endif()
100102

101103
ament_export_include_directories(include)

opennav_row_coverage/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ if(BUILD_TESTING)
8080
find_package(ament_lint_auto REQUIRED)
8181
find_package(ament_cmake_gtest REQUIRED)
8282
ament_lint_auto_find_test_dependencies()
83-
# add_subdirectory(test)
83+
add_subdirectory(test)
8484
endif()
8585

8686
ament_export_include_directories(include)

0 commit comments

Comments
 (0)