summarylogtreecommitdiffstats
path: root/020-openvino-use-protobuf-shared-libs.patch
blob: 9db3a5711101d92c8f87c03dc29cc91a565209f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/thirdparty/CMakeLists.txt
+++ b/thirdparty/CMakeLists.txt
@@ -84,7 +84,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()