blob: 3abd0994645235b8a015e5c90ec12122c2fd9d2e (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- a/thirdparty/CMakeLists.txt
+++ b/thirdparty/CMakeLists.txt
@@ -419,7 +419,7 @@ if(ENABLE_OV_PADDLE_FRONTEND OR ENABLE_OV_ONNX_FRONTEND OR ENABLE_OV_TF_FRONTEND
if(ENABLE_SYSTEM_PROTOBUF)
# Note: Debian / Ubuntu / RHEL libprotobuf.a can only be used with -DBUILD_SHARED_LIBS=OFF
# because they are compiled without -fPIC
- set(Protobuf_USE_STATIC_LIBS ON)
+ set(Protobuf_USE_STATIC_LIBS OFF)
if(CMAKE_VERBOSE_MAKEFILE)
set(Protobuf_DEBUG ON)
endif()
|