diff --git a/src/bindings/python/src/compatibility/openvino/CMakeLists.txt b/src/bindings/python/src/compatibility/openvino/CMakeLists.txt index e6f7f2aec3b347..aa2e7093d41b1b 100644 --- a/src/bindings/python/src/compatibility/openvino/CMakeLists.txt +++ b/src/bindings/python/src/compatibility/openvino/CMakeLists.txt @@ -13,6 +13,9 @@ if(NOT DEFINED OpenVINO_SOURCE_DIR) PATHS "${InferenceEngineDeveloperPackage_DIR}") endif() +# Python API 1.0 will be removed before 2024.0 +ov_disable_deprecated_warnings() + if(UNIX) # cython generated files requires public visibility. Force visibility required. set(CMAKE_CXX_VISIBILITY_PRESET default) diff --git a/src/plugins/intel_gna/CMakeLists.txt b/src/plugins/intel_gna/CMakeLists.txt index 107ea8a5a0cdc9..ecb94ece6b3db2 100644 --- a/src/plugins/intel_gna/CMakeLists.txt +++ b/src/plugins/intel_gna/CMakeLists.txt @@ -6,6 +6,9 @@ if (NOT ENABLE_INTEL_GNA) return() endif() +# GNA plugin will be removed before 2024.0 together with API 1.0 +ov_disable_deprecated_warnings() + add_subdirectory(legacy) set(TARGET_NAME "openvino_intel_gna_plugin")