cmakelint: also lint CMake .in files, fix a long line

```
CMakeConfigurableFile.in
cmake_uninstall.cmake.in
curl-config.cmake.in
```

Follow-up to 16f073ef49 #16973
Closes #19773
This commit is contained in:
Viktor Szakats
2025-11-30 23:27:06 +01:00
parent 4e8d5da7ee
commit f553bff6ee
2 changed files with 3 additions and 2 deletions

View File

@@ -23,7 +23,8 @@
###########################################################################
@PACKAGE_INIT@
option(CURL_USE_PKGCONFIG "Enable pkg-config to detect @PROJECT_NAME@ dependencies. Default: @CURL_USE_PKGCONFIG@" "@CURL_USE_PKGCONFIG@")
option(CURL_USE_PKGCONFIG "Enable pkg-config to detect @PROJECT_NAME@ dependencies. Default: @CURL_USE_PKGCONFIG@"
"@CURL_USE_PKGCONFIG@")
include(CMakeFindDependencyMacro)

View File

@@ -52,7 +52,7 @@ cd "$(dirname "$0")"/..
# strip off the leading ./ to make the grep regexes work properly
find . -type f | sed 's@^\./@@'
fi
} | grep -E '(^CMake|/CMake|\.cmake$)' | grep -v -E '(\.h\.cmake|\.in|\.c)$' \
} | grep -E '(^CMake|/CMake|\.cmake$)' | grep -v -E '(\.h\.cmake|\.c)$' \
| xargs \
cmake-lint \
--suppress-decorations \