Skip to content

Commit d993d46

Browse files
committed
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.
1 parent 7af0b2d commit d993d46

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@ target_include_directories(firebase INTERFACE
3232
third_party/firebase-development/usr/include)
3333
if(ANDROID)
3434
target_link_directories(firebase INTERFACE
35-
third_party/firebase-development/usr/libs/android
36-
third_party/firebase-development/usr/libs/android/deps/app
37-
third_party/firebase-development/usr/libs/android/deps/app/external)
35+
third_party/firebase-development/usr/libs/android/${CMAKE_ANDROID_ARCH_ABI})
3836
elseif(WIN32)
3937
target_link_directories(firebase INTERFACE
4038
third_party/firebase-development/usr/libs/windows

0 commit comments

Comments
 (0)