Skip to content

Commit 9e9a5c6

Browse files
committed
chore(build): use static protobuf libs for linking.
1 parent 929db9c commit 9e9a5c6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmake/find_protobuf.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
set(Protobuf_USE_STATIC_LIBS ON)
12
find_package(Protobuf REQUIRED)
23
message(STATUS "Using protobuf: ${Protobuf_VERSION} : ${Protobuf_INCLUDE_DIR}, ${Protobuf_LIBRARY}, ${Protobuf_PROTOC_EXECUTABLE}")

0 commit comments

Comments
 (0)