Skip to content

Commit

Permalink
restore tests and add missing ament_index_cpp to CMakeLists
Browse files Browse the repository at this point in the history
  • Loading branch information
adivardi committed Nov 21, 2024
1 parent b006a63 commit 23f8b9f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion opennav_coverage/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 3.5)
project(opennav_coverage)

find_package(ament_cmake REQUIRED)
find_package(ament_index_cpp REQUIRED)
find_package(rclcpp REQUIRED)
find_package(rclcpp_action REQUIRED)
find_package(rclcpp_lifecycle REQUIRED)
Expand Down Expand Up @@ -29,6 +30,7 @@ set(executable_name opennav_coverage)
set(library_name ${executable_name}_core)

set(dependencies
ament_index_cpp
rclcpp
rclcpp_action
rclcpp_lifecycle
Expand Down Expand Up @@ -95,7 +97,7 @@ if(BUILD_TESTING)
find_package(ament_lint_auto REQUIRED)
find_package(ament_cmake_gtest REQUIRED)
ament_lint_auto_find_test_dependencies()
# add_subdirectory(test)
add_subdirectory(test)
endif()

ament_export_include_directories(include)
Expand Down
2 changes: 1 addition & 1 deletion opennav_row_coverage/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ if(BUILD_TESTING)
find_package(ament_lint_auto REQUIRED)
find_package(ament_cmake_gtest REQUIRED)
ament_lint_auto_find_test_dependencies()
# add_subdirectory(test)
add_subdirectory(test)
endif()

ament_export_include_directories(include)
Expand Down

0 comments on commit 23f8b9f

Please sign in to comment.