clangformat-cmake icon indicating copy to clipboard operation
clangformat-cmake copied to clipboard

Don't abort if clang-format cannot be found

Open CodeFinder2 opened this issue 2 years ago • 1 comments

You can now still set CLANGFORMAT_FORCED to ON to abort (= old behavior).

I think it's more useful if it doesn't fail if clang-format is not installed and simply does not create the clangformat target.

Thanks for considering this! :-)

CodeFinder2 avatar Dec 06 '22 13:12 CodeFinder2

Looks good. We'd prefer our builds don't fail without clang-format too.

nigels-com avatar Jan 13 '23 00:01 nigels-com