Skip to content

Commit 9415d46

Browse files
committed
build: make FirebaseAuth build on Android
Remove some of the linked libraries on Android. While we may be underlinking currently, this allows us to get a DSO built and identify additional issues in the repository when cross-compiling.
1 parent fd21d23 commit 9415d46

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,11 @@ target_link_libraries(FirebaseAuth PUBLIC
8282
firebase
8383
FirebaseCore)
8484
target_link_libraries(FirebaseAuth PRIVATE
85-
crypto
86-
firebase_rest_lib
8785
flatbuffers
88-
ssl
86+
$<$<PLATFORM_ID:Windows>:crypto>
87+
$<$<PLATFORM_ID:Windows>:firebase_rest_lib>
8988
$<$<PLATFORM_ID:Windows>:libcurl>
89+
$<$<PLATFORM_ID:Windows>:ssl>
9090
$<$<PLATFORM_ID:Windows>:zlibstatic>)
9191

9292
add_library(FirebaseFirestore SHARED

0 commit comments

Comments
 (0)