Skip to content

Commit 7e229e8

Browse files
committed
CMakeLists.txt: Set FIRESTORE_INCLUDE_OBJC as a cache variable so it actually works
1 parent bd56ad5 commit 7e229e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ endif()
217217

218218
# Disable compiling the Objective-C (and Swift) stuff from the
219219
# firebase-ios-sdk since it's not needed and can sometimes fail to build.
220-
set(FIRESTORE_INCLUDE_OBJC NO)
220+
set(FIRESTORE_INCLUDE_OBJC OFF CACHE BOOL "Disabled for the CPP SDK")
221221

222222
if(FIREBASE_CPP_USE_PRIOR_GRADLE_BUILD)
223223
# Quote meta characters in ${CMAKE_CURRENT_LIST_DIR} so we can

0 commit comments

Comments
 (0)