@@ -43,23 +43,23 @@ if (NOT PROTOBUF_FOUND)
43
43
your PATH, or set the CMake option FIREBASE_INCLUDE_REMOTE_CONFIG \
44
44
to OFF to disable the firebase_remote_config build target." )
45
45
endif ()
46
+ else ()
47
+ # Generates config.pb.c and config.pb.h
48
+ NANOPB_GENERATE_CPP (PROTO_SRCS PROTO_HDRS src_protos/config.proto )
49
+ set (desktop_SRCS
50
+ src/desktop/remote_config.cc
51
+ src/desktop/rest.cc
52
+ src/desktop/config_data.cc
53
+ src/desktop/file_manager.cc
54
+ src/desktop/metadata.cc
55
+ src/desktop/notification_channel.cc
56
+ src/desktop/remote_config_desktop.cc
57
+ src/desktop/rest_nanopb_decode.cc
58
+ src/desktop/rest_nanopb_encode.cc
59
+ "${PROJECT_BINARY_DIR} /config.pb.c"
60
+ "${PROJECT_BINARY_DIR} /config.pb.h" )
46
61
endif ()
47
62
48
- # Generates config.pb.c and config.pb.h
49
- NANOPB_GENERATE_CPP (PROTO_SRCS PROTO_HDRS src_protos/config.proto )
50
- set (desktop_SRCS
51
- src/desktop/remote_config.cc
52
- src/desktop/rest.cc
53
- src/desktop/config_data.cc
54
- src/desktop/file_manager.cc
55
- src/desktop/metadata.cc
56
- src/desktop/notification_channel.cc
57
- src/desktop/remote_config_desktop.cc
58
- src/desktop/rest_nanopb_decode.cc
59
- src/desktop/rest_nanopb_encode.cc
60
- "${PROJECT_BINARY_DIR} /config.pb.c"
61
- "${PROJECT_BINARY_DIR} /config.pb.h" )
62
-
63
63
if (ANDROID )
64
64
set (remote_config_platform_SRCS
65
65
"${android_SRCS} " )
0 commit comments