Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[CLANG-TIDY] Suppress unknown warning options (#31407)

Arseniy Obolenskiy396404081f2a
diff --git a/cmake/developer_package/plugins/plugins.cmake b/cmake/developer_package/plugins/plugins.cmake
index 7c458685889..aeb204f1cd0 100644
--- a/cmake/developer_package/plugins/plugins.cmake
+++ b/cmake/developer_package/plugins/plugins.cmake
@@ -105,6 +105,7 @@ function(ov_add_plugin)
if (OV_PLUGIN_ADD_CLANG_TIDY)
if (ENABLE_CLANG_TIDY)
set(clang_tidy_options "--extra-arg=-Wno-unused-command-line-argument")
+ list(APPEND clang_tidy_options "--extra-arg=-Wno-unknown-warning-option")
if(DEFINED CMAKE_CXX_COMPILER_TARGET)
list(APPEND clang_tidy_options "--extra-arg=--target=${CMAKE_CXX_COMPILER_TARGET}")
endif()