Skip to content

Commit 0e57180

Browse files
committed
Skip ament_copyright check in Humble distribution
1 parent fbe36f9 commit 0e57180

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,12 @@ install(TARGETS ${PROJECT_NAME}
9191

9292
if(BUILD_TESTING)
9393
find_package(ament_lint_auto REQUIRED)
94+
95+
# Skip ament_copyright check for humble
96+
if($ENV{ROS_DISTRO} STREQUAL "humble")
97+
set(ament_cmake_copyright_FOUND TRUE)
98+
endif()
99+
94100
ament_lint_auto_find_test_dependencies()
95101
endif()
96102

0 commit comments

Comments
 (0)