diff --git a/CMakeLists.txt b/CMakeLists.txt index 8075aed8..96cc845b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -54,8 +54,14 @@ if(BUILD_TESTING) find_package(ament_lint_auto QUIET) if(ament_lint_auto_FOUND) # TODO(mikaelarguedas) add copyright test once the linter accepts /** block comments - set(ament_cmake_copyright_FOUND TRUE) + list(APPEND AMENT_AUTO_LINT_EXCLUDE + ament_cmake_copyright + ) ament_lint_auto_find_test_dependencies() + + # Files in test/fviz_case_study do have compatible copyrights + find_package(ament_cmake_copyright) + ament_copyright("test/fviz_case_study") endif() add_subdirectory(test) endif()