From ccc2ddddccda22ad89f6606d55c2aef036155cf6 Mon Sep 17 00:00:00 2001 From: Stefan Scherzinger Date: Fri, 19 Apr 2024 14:53:50 +0200 Subject: [PATCH] Add ament license check to CMake files --- schunk_egu_egk_gripper_driver/CMakeLists.txt | 3 +++ schunk_egu_egk_gripper_examples/CMakeLists.txt | 3 +++ 2 files changed, 6 insertions(+) diff --git a/schunk_egu_egk_gripper_driver/CMakeLists.txt b/schunk_egu_egk_gripper_driver/CMakeLists.txt index f4094de..07ab363 100644 --- a/schunk_egu_egk_gripper_driver/CMakeLists.txt +++ b/schunk_egu_egk_gripper_driver/CMakeLists.txt @@ -65,6 +65,9 @@ install( # Test #-------------------------------------------------------------------------------- if(BUILD_TESTING) + find_package(ament_lint_auto REQUIRED) + set(ament_cmake_copyright_FOUND TRUE) + ament_lint_auto_find_test_dependencies() endif() # Ament package configuration diff --git a/schunk_egu_egk_gripper_examples/CMakeLists.txt b/schunk_egu_egk_gripper_examples/CMakeLists.txt index 437422e..b97897f 100644 --- a/schunk_egu_egk_gripper_examples/CMakeLists.txt +++ b/schunk_egu_egk_gripper_examples/CMakeLists.txt @@ -49,6 +49,9 @@ install(TARGETS # Test #-------------------------------------------------------------------------------- if(BUILD_TESTING) + find_package(ament_lint_auto REQUIRED) + set(ament_cmake_copyright_FOUND TRUE) + ament_lint_auto_find_test_dependencies() endif() # Ament package configuration