Skip to content

Commit fb2d1cc

Browse files
authored
firestore.cmake: go back to the old set(version X.Y.Z) syntax to be consistent with update-dependencies.yml (#899)
1 parent 665b2d5 commit fb2d1cc

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

cmake/external/firestore.cmake

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@ if(TARGET firestore)
1818
return()
1919
endif()
2020

21-
function(GetReleasedDep version)
21+
# If the format of the line below changes, then be sure to update
22+
# https://github.com/firebase/firebase-cpp-sdk/blob/fd054fa016/.github/workflows/update-dependencies.yml#L81
23+
set(version CocoaPods-8.12.1)
24+
25+
function(GetReleasedDep)
2226
message("Getting released firebase-ios-sdk @ ${version}")
2327
ExternalProject_Add(
2428
firestore
@@ -60,7 +64,7 @@ endfunction()
6064

6165
if((NOT FIRESTORE_DEP_SOURCE) OR (FIRESTORE_DEP_SOURCE STREQUAL "RELEASED"))
6266
# Get from released dependency by default
63-
GetReleasedDep("CocoaPods-8.12.1")
67+
GetReleasedDep()
6468
else()
6569
if(FIRESTORE_DEP_SOURCE STREQUAL "TIP")
6670
GetTag("origin/master")

0 commit comments

Comments
 (0)