Skip to content

Commit

Permalink
Use AMENT_LINT_AUTO_EXCLUDE variable
Browse files Browse the repository at this point in the history
  • Loading branch information
bjsowa committed Oct 6, 2024
1 parent 0e57180 commit aa07895
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ if(BUILD_TESTING)

# Skip ament_copyright check for humble
if($ENV{ROS_DISTRO} STREQUAL "humble")
set(ament_cmake_copyright_FOUND TRUE)
list(APPEND AMENT_LINT_AUTO_EXCLUDE
ament_cmake_copyright
)
endif()

ament_lint_auto_find_test_dependencies()
Expand Down

0 comments on commit aa07895

Please sign in to comment.