raise minimum required version of clang-format and extend search to newer versions
This commit is contained in:
@ -887,7 +887,7 @@ endif()
|
|||||||
include(Testing)
|
include(Testing)
|
||||||
include(CodeCoverage)
|
include(CodeCoverage)
|
||||||
include(CodingStandard)
|
include(CodingStandard)
|
||||||
find_package(ClangFormat 8.0)
|
find_package(ClangFormat 11.0)
|
||||||
|
|
||||||
if(ClangFormat_FOUND)
|
if(ClangFormat_FOUND)
|
||||||
add_custom_target(format-src
|
add_custom_target(format-src
|
||||||
|
|||||||
@ -1,5 +1,8 @@
|
|||||||
# Find clang-format
|
# Find clang-format
|
||||||
find_program(ClangFormat_EXECUTABLE NAMES clang-format
|
find_program(ClangFormat_EXECUTABLE NAMES clang-format
|
||||||
|
clang-format-20.0
|
||||||
|
clang-format-19.0
|
||||||
|
clang-format-18.0
|
||||||
clang-format-17.0
|
clang-format-17.0
|
||||||
clang-format-16.0
|
clang-format-16.0
|
||||||
clang-format-15.0
|
clang-format-15.0
|
||||||
|
|||||||
Reference in New Issue
Block a user