diff --git a/cmake/developer_package/clang_format/clang_format.cmake b/cmake/developer_package/clang_format/clang_format.cmake index 1484e7038d7..78114abeaf8 100644 --- a/cmake/developer_package/clang_format/clang_format.cmake +++ b/cmake/developer_package/clang_format/clang_format.cmake @@ -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()