From b2312e05c2393f7a8b0641ff1512731cb795ca73 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Tue, 18 Jun 2024 10:55:01 -0700 Subject: [PATCH] build: tweak the library search path for firebase-cpp-sdk On Android, we use arch variants to support multiple architecture ABI variants. Adjust the default search path that we compute to include this directory to repair the search of libraries. --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 29be186..ab31a02 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,9 +32,7 @@ target_include_directories(firebase INTERFACE third_party/firebase-development/usr/include) if(ANDROID) target_link_directories(firebase INTERFACE - third_party/firebase-development/usr/libs/android - third_party/firebase-development/usr/libs/android/deps/app - third_party/firebase-development/usr/libs/android/deps/app/external) + third_party/firebase-development/usr/libs/android/${CMAKE_ANDROID_ARCH_ABI}) elseif(WIN32) target_link_directories(firebase INTERFACE third_party/firebase-development/usr/libs/windows