mirror of
https://github.com/libssh2/libssh2.git
synced 2025-12-24 19:37:49 +03:00
cmakelint: also lint CMake .in files (fixup), fix a long line
Follow-up to 9e4d307e67 #1751
This commit is contained in:
@@ -32,7 +32,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|\.c)$' \
|
||||
} | grep -E '(^CMake|/CMake|\.cmake$|\.cmake\.in$)' | grep -v -E '(\.h\.cmake|\.c)$' \
|
||||
| xargs \
|
||||
cmake-lint \
|
||||
--suppress-decorations \
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
# Copyright (C) The libssh2 project and its contributors.
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
option(LIBSSH2_USE_PKGCONFIG "Enable pkg-config to detect @PROJECT_NAME@ dependencies. Default: @LIBSSH2_USE_PKGCONFIG@" "@LIBSSH2_USE_PKGCONFIG@")
|
||||
option(LIBSSH2_USE_PKGCONFIG "Enable pkg-config to detect @PROJECT_NAME@ dependencies. Default: @LIBSSH2_USE_PKGCONFIG@"
|
||||
"@LIBSSH2_USE_PKGCONFIG@")
|
||||
|
||||
include(CMakeFindDependencyMacro)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user