diff --git a/modules/gapi/src/backends/ie/giebackend.cpp b/modules/gapi/src/backends/ie/giebackend.cpp index cdb246e4a2..000021d898 100644 --- a/modules/gapi/src/backends/ie/giebackend.cpp +++ b/modules/gapi/src/backends/ie/giebackend.cpp @@ -10,7 +10,7 @@ // (cv::gapi::ie::backend() is still there and is defined always) #include "backends/ie/giebackend.hpp" -#if defined HAVE_INF_ENGINE && INF_ENGINE_RELEASE < 2024000000 +#if defined HAVE_INF_ENGINE && INF_ENGINE_RELEASE < 2023010000 #if INF_ENGINE_RELEASE <= 2019010000 # error G-API IE module supports only OpenVINO IE >= 2019 R1 diff --git a/modules/gapi/src/backends/ie/giebackend.hpp b/modules/gapi/src/backends/ie/giebackend.hpp index 98715fc2db..1f000600dc 100644 --- a/modules/gapi/src/backends/ie/giebackend.hpp +++ b/modules/gapi/src/backends/ie/giebackend.hpp @@ -10,7 +10,7 @@ // Include anyway - cv::gapi::ie::backend() still needs to be defined #include "opencv2/gapi/infer/ie.hpp" -#if defined HAVE_INF_ENGINE && INF_ENGINE_RELEASE < 2024000000 +#if defined HAVE_INF_ENGINE && INF_ENGINE_RELEASE < 2023010000 #include // type_list_index #include diff --git a/modules/gapi/src/backends/ie/giebackend/giewrapper.cpp b/modules/gapi/src/backends/ie/giebackend/giewrapper.cpp index 6df8187e16..e3537edf8f 100644 --- a/modules/gapi/src/backends/ie/giebackend/giewrapper.cpp +++ b/modules/gapi/src/backends/ie/giebackend/giewrapper.cpp @@ -4,7 +4,7 @@ // // Copyright (C) 2020-2024 Intel Corporation -#if defined HAVE_INF_ENGINE && INF_ENGINE_RELEASE < 2024000000 +#if defined HAVE_INF_ENGINE && INF_ENGINE_RELEASE < 2023010000 #include #include diff --git a/modules/gapi/test/infer/gapi_infer_ie_test.cpp b/modules/gapi/test/infer/gapi_infer_ie_test.cpp index 8e91d576aa..f6a6be0651 100644 --- a/modules/gapi/test/infer/gapi_infer_ie_test.cpp +++ b/modules/gapi/test/infer/gapi_infer_ie_test.cpp @@ -6,7 +6,7 @@ #include "../test_precomp.hpp" -#if defined HAVE_INF_ENGINE && INF_ENGINE_RELEASE < 2024000000 +#if defined HAVE_INF_ENGINE && INF_ENGINE_RELEASE < 2023010000 #include #include