Skip to content

Commit 0092bba

Browse files
committed
passthrough PLATFORM variable to sub builds
For tvos and other apple platforms, "PLATFORM" cmake variable is set. We want to pass this through to sub-builds to build external depenedencies.
1 parent 0999e48 commit 0092bba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmake/external_rules.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ function(download_external_sources)
6666
${ENV_COMMAND} ${CMAKE_COMMAND}
6767
-G ${CMAKE_GENERATOR}
6868
-DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
69+
-DPLATFORM=${PLATFORM}
6970
-DCMAKE_MAKE_PROGRAM=${CMAKE_MAKE_PROGRAM}
7071
-DCMAKE_INSTALL_PREFIX=${FIREBASE_INSTALL_DIR}
7172
-DFIREBASE_DOWNLOAD_DIR=${FIREBASE_DOWNLOAD_DIR}

0 commit comments

Comments
 (0)