clang-format: Silence output from version check
This commit is contained in:
@@ -39,6 +39,7 @@ function(clang_format)
|
||||
RESULT_VARIABLE _VERSION_RESULT
|
||||
OUTPUT_VARIABLE _VERSION_OUTPUT
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_STRIP_TRAILING_WHITESPACE ERROR_QUIET
|
||||
OUTPUT_QUIET ERROR_QUIET
|
||||
)
|
||||
if(NOT _VERSION_RESULT EQUAL 0)
|
||||
message(WARNING "Clang: Could not discover version, disabling clang-format...")
|
||||
|
||||
Reference in New Issue
Block a user