summarylogtreecommitdiffstats
path: root/020-openvino-use-protobuf-shared-libs.patch
blob: dc0f534b8570a7b2ac1236d458ce129a8890a087 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/thirdparty/CMakeLists.txt
+++ b/thirdparty/CMakeLists.txt
@@ -114,7 +114,7 @@ endif()
 
 if(ENABLE_OV_PADDLE_FRONTEND OR ENABLE_OV_ONNX_FRONTEND OR ENABLE_OV_TF_FRONTEND)
     if(ENABLE_SYSTEM_PROTOBUF)
-        set(Protobuf_USE_STATIC_LIBS ON)
+        set(Protobuf_USE_STATIC_LIBS OFF)
         if(VERBOSE_BUILD)
             set(Protobuf_DEBUG ON)
         endif()