Skip to content

Commit ece5ab5

Browse files
Googlera-maurice
authored andcommitted
I updated the CMakeLists.txt so that it will use the precompiled binary libraries on iOS in addition to other platforms.
PiperOrigin-RevId: 289100860
1 parent 1babea4 commit ece5ab5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

release_build_files/CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@ if(ANDROID)
2929
set(FIREBASE_SDK_LIBDIR
3030
"${FIREBASE_CPP_SDK_DIR}/libs/android/${ANDROID_ABI}/${STL_DIR}")
3131
elseif(APPLE)
32-
set(FIREBASE_SDK_LIBDIR ${FIREBASE_CPP_SDK_DIR}/libs/darwin/universal)
32+
if(IOS)
33+
set(FIREBASE_SDK_LIBDIR ${FIREBASE_CPP_SDK_DIR}/libs/ios/universal)
34+
elseif(MACOS)
35+
set(FIREBASE_SDK_LIBDIR ${FIREBASE_CPP_SDK_DIR}/libs/darwin/universal)
36+
endif()
3337
elseif(MSVC)
3438
if(${CMAKE_CL_64})
3539
set(MSVC_CPU x64)

0 commit comments

Comments
 (0)