Skip to content

Commit

Permalink
apacheGH-37849: [C++] Add cpp/src/**/*.cmake to cmake-format targets (a…
Browse files Browse the repository at this point in the history
…pache#37850)

### Rationale for this change

In general, all our `.cmake` files should be `cmake-format` targets.

### What changes are included in this PR?

Add missing patterns for `cpp/src/**/*.cmake`.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* Closes: apache#37849

Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
  • Loading branch information
kou authored and etseidl committed Sep 28, 2023
1 parent 7187c1a commit 2ba09df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
9 changes: 4 additions & 5 deletions cpp/src/arrow/arrow-config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
1 change: 1 addition & 0 deletions dev/archery/archery/utils/lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 2ba09df

Please sign in to comment.