Skip to content

Commit bfc82c4

Browse files
committed
Restore new external file and fix include path.
1 parent 60c1485 commit bfc82c4

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

cmake/external/firestore.cmake

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# limitations under the License.
1414

1515
include(ExternalProject)
16+
include(FindPythonInterp)
1617

1718
if(TARGET firestore)
1819
return()
@@ -27,8 +28,10 @@ function(GetReleasedDep)
2728
ExternalProject_Add(
2829
firestore
2930

30-
DOWNLOAD_DIR ${FIREBASE_DOWNLOAD_DIR}
31-
URL https://github.com/firebase/firebase-ios-sdk/archive/${version}.tar.gz
31+
DOWNLOAD_DIR ${FIREBASE_DOWNLOAD_DIR}
32+
GIT_REPOSITORY https://github.com/firebase/firebase-ios-sdk
33+
GIT_TAG 70aa8b82a2ed36dd14448174bea0fd7e575d4d49
34+
GIT_SHALLOW ON
3235

3336
PREFIX ${PROJECT_BINARY_DIR}
3437

@@ -73,3 +76,10 @@ else()
7376
endif()
7477
endif()
7578

79+
CONFIGURE_COMMAND ""
80+
BUILD_COMMAND ""
81+
INSTALL_COMMAND ""
82+
TEST_COMMAND ""
83+
PATCH_COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_LIST_DIR}/firestore_patch.py --leveldb-version-from ${CMAKE_CURRENT_LIST_DIR}/leveldb.cmake
84+
HTTP_HEADER "${EXTERNAL_PROJECT_HTTP_HEADER}"
85+
)

firestore/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ elseif(IOS)
392392
nanopb
393393
gRPC-C++
394394
gRPC-Core
395-
FirebaseAuth/Interop/Auth/Public
395+
FirebaseAuth/Interop
396396
)
397397

398398
if (FIREBASE_XCODE_TARGET_FORMAT STREQUAL "frameworks")

0 commit comments

Comments
 (0)