pin-server/0001-static-link-plg_grpc_proto.patch
2022-08-27 10:36:15 +08:00

15 lines
352 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index e713c1b..ec07e26 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -28,7 +28,7 @@ add_custom_command(
include_directories("${CMAKE_CURRENT_BINARY_DIR}")
# plg_grpc_proto
-add_library(plg_grpc_proto
+add_library(plg_grpc_proto STATIC
${plg_grpc_srcs}
${plg_grpc_hdrs}
${plg_proto_srcs}