Turn clang-format targets off is no clang (#5202)

This commit is contained in:
Ilya Lavrenov 2021-04-12 23:40:18 +03:00 committed by GitHub
parent 617a1024e1
commit cae6a3bdcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,6 +17,9 @@ if (ENABLE_CLANG_FORMAT)
set(ENABLE_CLANG_FORMAT OFF)
endif()
endif()
else()
message(WARNING "Supported clang-format version is not found!")
set(ENABLE_CLANG_FORMAT OFF)
endif()
endif()