diff --git a/CMakeLists.txt b/CMakeLists.txt index 1e8b2ea..559e075 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,6 +30,8 @@ add_library(FirebaseCore Sources/FirebaseCore/FirebaseOptions+Swift.swift) target_compile_options(FirebaseCore PRIVATE -cxx-interoperability-mode=default) +target_link_libraries(FirebaseCore PUBLIC + firebase) target_link_libraries(FirebaseCore PRIVATE libcurl firebase @@ -45,10 +47,10 @@ add_library(FirebaseAuth target_compile_options(FirebaseAuth PRIVATE -cxx-interoperability-mode=default) target_link_libraries(FirebaseAuth PUBLIC + firebase FirebaseCore) target_link_libraries(FirebaseAuth PRIVATE crypto - firebase firebase_rest_lib flatbuffers) @@ -62,6 +64,7 @@ add_library(FirebaseFirestore target_compile_options(FirebaseFirestore PRIVATE -cxx-interoperability-mode=default) target_link_libraries(FirebaseFirestore PUBLIC + firebase FirebaseCore) target_link_libraries(FirebaseFirestore PRIVATE absl_bad_optional_access @@ -103,7 +106,6 @@ target_link_libraries(FirebaseFirestore PRIVATE absl_time_zone address_sorting cares - firebase firestore_core firestore_nanopb firestore_protos_nanopb