From 731fe1eab86a9add8ea202d19e0bb723fc9fd9bb Mon Sep 17 00:00:00 2001 From: Dirk Thomas Date: Sat, 7 Mar 2015 01:24:13 +0100 Subject: [PATCH] use ament_lint_auto --- rcl/CMakeLists.txt | 5 +++++ rcl/package.xml | 2 ++ 2 files changed, 7 insertions(+) diff --git a/rcl/CMakeLists.txt b/rcl/CMakeLists.txt index c2dda4e6a..8e8376991 100644 --- a/rcl/CMakeLists.txt +++ b/rcl/CMakeLists.txt @@ -8,6 +8,11 @@ ament_export_dependencies(rmw) ament_export_include_directories(include) +if(AMENT_ENABLE_TESTING) + find_package(ament_lint_auto REQUIRED) + ament_lint_auto_find_test_dependencies() +endif() + ament_package() install( diff --git a/rcl/package.xml b/rcl/package.xml index c4dda74d3..0471cc398 100644 --- a/rcl/package.xml +++ b/rcl/package.xml @@ -14,4 +14,6 @@ rmw + ament_lint_auto + ament_lint_common