#29: Set _NEXT_DEPENDS and _DOWNLOAD_COMMAND according to WEBRTC_REVISION

This commit is contained in:
Axel Isouard 2017-03-08 07:16:23 +01:00
parent b668195218
commit bc67c8f626
No known key found for this signature in database
GPG key ID: 4E64BB3EAAF31C29

View file

@ -4,7 +4,7 @@ include(GClientConfig)
set(_DOWNLOAD_COMMAND ${GCLIENT_EXECUTABLE} sync --with_branch_heads --nohooks) set(_DOWNLOAD_COMMAND ${GCLIENT_EXECUTABLE} sync --with_branch_heads --nohooks)
if (WEBRTC_REVISION) if (WEBRTC_REVISION)
set(_DOWNLOAD_COMMAND --revision ${WEBRTC_REVISION}) set(_DOWNLOAD_COMMAND ${_DOWNLOAD_COMMAND} --revision ${WEBRTC_REVISION})
endif (WEBRTC_REVISION) endif (WEBRTC_REVISION)
ExternalProject_Add( ExternalProject_Add(
@ -19,6 +19,7 @@ ExternalProject_Add(
INSTALL_COMMAND "" INSTALL_COMMAND ""
) )
set(_NEXT_DEPENDS webrtc-src)
if (NOT WEBRTC_REVISION) if (NOT WEBRTC_REVISION)
libwebrtc_command( libwebrtc_command(
NAME webrtc-fetch-refs NAME webrtc-fetch-refs