File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -144,6 +144,26 @@ podspec_framework(
144
144
${FIREBASE_SOURCE_DIR} /FirebaseCore.podspec
145
145
)
146
146
147
+ podspec_framework(
148
+ ${FIREBASE_SOURCE_DIR} /FirebaseAuthInterop.podspec
149
+ )
150
+
151
+ # FirebaseAuthInterop has no source files but CMake can't build frameworks that don't
152
+ # have sources. Generate an inconsequential source file so that the library can
153
+ # be linked.
154
+ file (
155
+ WRITE ${CMAKE_CURRENT_BINARY_DIR} /FirebaseAuthInteropDummy.c
156
+ "// generated file for header-only CMake support.
157
+ __attribute__((unused))
158
+ static void FirebaseAuthInteropFakeSymbol() {}
159
+ "
160
+ )
161
+ target_sources (
162
+ FirebaseAuthInterop
163
+ PRIVATE ${CMAKE_CURRENT_BINARY_DIR} /FirebaseAuthInteropDummy.c
164
+ )
165
+
166
+
147
167
# Superbuild installed results
148
168
include_directories (${FIREBASE_INSTALL_DIR} /include )
149
169
Original file line number Diff line number Diff line change 54
54
;;
55
55
56
56
Firestore-cmake)
57
- check_changes ' ^Firestore/(core|third_party)'
57
+ check_changes ' ^( Firestore/(core|third_party)|cmake )'
58
58
;;
59
59
60
60
* )
You can’t perform that action at this time.
0 commit comments