Skip to content

Commit ab54b5e

Browse files
committed
build: avoid underlinking FirebaseCore on Android
There is an undefined reference to liblog symbols when building for Android. Ensure that we are fulfilling all the requirements when linking the DSO.
1 parent fbdace8 commit ab54b5e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ target_link_libraries(FirebaseCore PUBLIC
6060
target_link_libraries(FirebaseCore PRIVATE
6161
firebase_app
6262
flatbuffers
63+
$<$<PLATFORM_ID:ANDROID>:log>
6364
$<$<PLATFORM_ID:Windows>:libcurl>
6465
$<$<PLATFORM_ID:Windows>:zlibstatic>)
6566
if(ANDROID)

0 commit comments

Comments
 (0)