Skip to content

Commit 60c1485

Browse files
committed
Fix Firestore external file.
1 parent 020990b commit 60c1485

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

cmake/external/firestore.cmake

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

1515
include(ExternalProject)
16-
include(FindPythonInterp)
1716

1817
if(TARGET firestore)
1918
return()
@@ -28,10 +27,8 @@ function(GetReleasedDep)
2827
ExternalProject_Add(
2928
firestore
3029

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

3633
PREFIX ${PROJECT_BINARY_DIR}
3734

@@ -76,10 +73,3 @@ else()
7673
endif()
7774
endif()
7875

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-
)

0 commit comments

Comments
 (0)