We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c5a642 commit dce0a2eCopy full SHA for dce0a2e
remote_config/CMakeLists.txt
@@ -66,6 +66,11 @@ if (NOT PROTOBUF_FOUND)
66
else()
67
# Generates config.pb.c and config.pb.h
68
NANOPB_GENERATE_CPP(PROTO_SRCS PROTO_HDRS src_protos/config.proto)
69
+ # Remove pb_common.c and pb_decode.c from PROTO_SRCS, as they are
70
+ # provided by Firebase App. Including them here causes symbols to
71
+ # have multiple definitions.
72
+ list(FILTER PROTO_SRCS EXCLUDE REGEX "/pb_.*\\.c")
73
+
74
set(desktop_SRCS
75
${PROTO_SRCS}
76
${PROTO_HDRS}
@@ -111,6 +116,7 @@ else()
111
116
set(additional_link_LIB
112
117
firebase_rest_lib
113
118
firebase_instance_id_desktop_impl
119
+ protobuf-nanopb-static
114
120
flatbuffers)
115
121
endif()
122
0 commit comments