diff --git a/cpp/src/arrow/arrow-config.cmake b/cpp/src/arrow/arrow-config.cmake index 8c9173c1710cb..c18c9eff37279 100644 --- a/cpp/src/arrow/arrow-config.cmake +++ b/cpp/src/arrow/arrow-config.cmake @@ -19,8 +19,7 @@ message(WARNING "find_package(arrow) is deprecated. Use find_package(Arrow) inst find_package(Arrow CONFIG) include(FindPackageHandleStandardArgs) -find_package_handle_standard_args(arrow - REQUIRED_VARS - ARROW_INCLUDE_DIR - VERSION_VAR - ARROW_VERSION) +find_package_handle_standard_args( + arrow + REQUIRED_VARS ARROW_INCLUDE_DIR + VERSION_VAR ARROW_VERSION) diff --git a/dev/archery/archery/utils/lint.py b/dev/archery/archery/utils/lint.py index 18c93a5b8b71b..3efe5994055db 100644 --- a/dev/archery/archery/utils/lint.py +++ b/dev/archery/archery/utils/lint.py @@ -149,6 +149,7 @@ def cmake_linter(src, fix=False): include_patterns=[ 'ci/**/*.cmake', 'cpp/CMakeLists.txt', + 'cpp/src/**/*.cmake', 'cpp/src/**/*.cmake.in', 'cpp/src/**/CMakeLists.txt', 'cpp/examples/**/CMakeLists.txt',