Disable warnings about API 1.0 in GNA, Python API 1.0 (#20933)
This commit is contained in:
1 parent
0f260c2ccd
commit
d6cc3d7058
2 files changed
+6
No files matched your search
@@ -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)
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user