Fix clang-format lookup to do what the comment says (#197)
This commit is contained in:
@@ -57,8 +57,7 @@ macro(clangformat_targets)
|
||||
# tool. It does not work with older versions as AfterCaseLabel is not supported
|
||||
# in earlier versions.
|
||||
find_program(CLANG_FORMAT NAMES
|
||||
clang-format-9
|
||||
clang-format)
|
||||
clang-format-9)
|
||||
|
||||
# If we've found a clang-format tool, generate a target for it, otherwise emit
|
||||
# a warning.
|
||||
|
||||
Reference in New Issue
Block a user