mirror of
https://github.com/UltraCoderRU/libwebrtc.git
synced 2026-01-28 11:15:13 +00:00
#29: Set _NEXT_DEPENDS and _DOWNLOAD_COMMAND according to WEBRTC_REVISION
This commit is contained in:
parent
b668195218
commit
bc67c8f626
1 changed files with 2 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ include(GClientConfig)
|
|||
|
||||
set(_DOWNLOAD_COMMAND ${GCLIENT_EXECUTABLE} sync --with_branch_heads --nohooks)
|
||||
if (WEBRTC_REVISION)
|
||||
set(_DOWNLOAD_COMMAND --revision ${WEBRTC_REVISION})
|
||||
set(_DOWNLOAD_COMMAND ${_DOWNLOAD_COMMAND} --revision ${WEBRTC_REVISION})
|
||||
endif (WEBRTC_REVISION)
|
||||
|
||||
ExternalProject_Add(
|
||||
|
|
@ -19,6 +19,7 @@ ExternalProject_Add(
|
|||
INSTALL_COMMAND ""
|
||||
)
|
||||
|
||||
set(_NEXT_DEPENDS webrtc-src)
|
||||
if (NOT WEBRTC_REVISION)
|
||||
libwebrtc_command(
|
||||
NAME webrtc-fetch-refs
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue