From 19ea658639d64bb2020cfb8424ea43ffa9a2dbf7 Mon Sep 17 00:00:00 2001 From: Ilya Churaev Date: Tue, 30 May 2023 21:49:51 +0400 Subject: [PATCH] Cannot fix opset warning --- src/core/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 315324d6959..af633ca81bb 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -5,6 +5,9 @@ # enable LTO globally for all libraries below set(CMAKE_INTERPROCEDURAL_OPTIMIZATION_RELEASE ${ENABLE_LTO}) +# Suppress warnings with FactoryRegistry autogenerated destructor +ov_deprecated_no_errors() + add_definitions(-DIN_OV_CORE_LIBRARY) set(OV_CORE_INCLUDE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/include)