vcpkg/ports/openvino/003-protobuf.patch
Dennis b89e291b45
[grpc/protobuf] Update grpc to 1.65.5 and update protobuf to 5.26.1 (#39800)
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2024-11-14 02:30:13 -08:00

14 lines
814 B
Diff

diff --git a/thirdparty/dependencies.cmake b/thirdparty/dependencies.cmake
index 9d7b16aeb8..af47fb99ee 100644
--- a/thirdparty/dependencies.cmake
+++ b/thirdparty/dependencies.cmake
@@ -325,7 +325,7 @@ if(ENABLE_OV_PADDLE_FRONTEND OR ENABLE_OV_ONNX_FRONTEND OR ENABLE_OV_TF_FRONTEND
# try to find newer version first (major is changed)
# see https://protobuf.dev/support/version-support/ and
# https://github.com/protocolbuffers/protobuf/commit/d61f75ff6db36b4f9c0765f131f8edc2f86310fa
- find_package(Protobuf 4.22.0 QUIET CONFIG)
+ find_package(Protobuf REQUIRED CONFIG)
if(Protobuf_FOUND)
# protobuf was found via CONFIG mode, let's save it for later usage in OpenVINOConfig.cmake static build
set(protobuf_config CONFIG)