Skip to content

Commit aa07895

Browse files
committed
Use AMENT_LINT_AUTO_EXCLUDE variable
1 parent 0e57180 commit aa07895

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,9 @@ if(BUILD_TESTING)
9494

9595
# Skip ament_copyright check for humble
9696
if($ENV{ROS_DISTRO} STREQUAL "humble")
97-
set(ament_cmake_copyright_FOUND TRUE)
97+
list(APPEND AMENT_LINT_AUTO_EXCLUDE
98+
ament_cmake_copyright
99+
)
98100
endif()
99101

100102
ament_lint_auto_find_test_dependencies()

0 commit comments

Comments
 (0)