mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 03:49:07 +08:00
14 lines
814 B
Diff
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)
|