Skip to content

Commit

Permalink
Find FreeBSD's name for clang-format 9.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidchisnall committed Jun 3, 2021
1 parent 8275d87 commit 4597854
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/clangformat.cmake
Expand Up @@ -9,7 +9,8 @@ macro(clangformat_targets)
# This can always be overriden with `-DCLANG_FORMAT=/path/to/clang-format` if
# need be.
find_program(CLANG_FORMAT NAMES
clang-format-9)
clang-format-9
clang-format90)

# If we've found a clang-format tool, generate a target for it, otherwise emit
# a warning.
Expand Down

0 comments on commit 4597854

Please sign in to comment.