diff --git a/ament_cmake_cpplint/cmake/ament_cpplint.cmake b/ament_cmake_cpplint/cmake/ament_cpplint.cmake index 0409b91f..6b70f604 100644 --- a/ament_cmake_cpplint/cmake/ament_cpplint.cmake +++ b/ament_cmake_cpplint/cmake/ament_cpplint.cmake @@ -34,7 +34,7 @@ # @public # function(ament_cpplint) - cmake_parse_arguments(ARG "" "EXCLUDE;MAX_LINE_LENGTH;ROOT;TESTNAME;TIMEOUT" "FILTERS" ${ARGN}) + cmake_parse_arguments(ARG "" "MAX_LINE_LENGTH;ROOT;TESTNAME;TIMEOUT" "FILTERS;EXCLUDE" ${ARGN}) if(NOT ARG_TESTNAME) set(ARG_TESTNAME "cpplint") endif() diff --git a/ament_cmake_flake8/cmake/ament_flake8.cmake b/ament_cmake_flake8/cmake/ament_flake8.cmake index 9dd986c5..b1e82392 100644 --- a/ament_cmake_flake8/cmake/ament_flake8.cmake +++ b/ament_cmake_flake8/cmake/ament_flake8.cmake @@ -39,7 +39,7 @@ # @public # function(ament_flake8) - cmake_parse_arguments(ARG "" "EXCLUDE;MAX_LINE_LENGTH;TESTNAME;CONFIG_FILE" "" ${ARGN}) + cmake_parse_arguments(ARG "" "MAX_LINE_LENGTH;TESTNAME;CONFIG_FILE" "EXCLUDE" ${ARGN}) if(NOT ARG_TESTNAME) set(ARG_TESTNAME "flake8") endif()