mirror of
https://github.com/UltraCoderRU/libwebrtc.git
synced 2026-01-28 11:15:13 +00:00
Rename DEPOTTOOLS_GCLIENT_EXECUTABLE to GCLIENT_EXECUTABLE
This commit is contained in:
parent
f25382438d
commit
83814ef6f3
2 changed files with 3 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
|||
find_program(DEPOTTOOLS_GCLIENT_EXECUTABLE
|
||||
find_program(GCLIENT_EXECUTABLE
|
||||
NAMES gclient gclient.bat
|
||||
PATHS ${CMAKE_CURRENT_SOURCE_DIR}/depot_tools)
|
||||
|
||||
|
|
@ -12,5 +12,5 @@ find_path(DEPOTTOOLS_PATH
|
|||
|
||||
include(${CMAKE_ROOT}/Modules/FindPackageHandleStandardArgs.cmake)
|
||||
find_package_handle_standard_args(DepotTools
|
||||
REQUIRED_VARS DEPOTTOOLS_GCLIENT_EXECUTABLE
|
||||
REQUIRED_VARS GCLIENT_EXECUTABLE
|
||||
FAIL_MESSAGE "Could not find the gclient executable.")
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ include(ExternalProject)
|
|||
include(LibWebRTCCommand)
|
||||
include(GClientConfig)
|
||||
|
||||
set(_DOWNLOAD_COMMAND ${DEPOTTOOLS_GCLIENT_EXECUTABLE} sync --revision
|
||||
set(_DOWNLOAD_COMMAND ${GCLIENT_EXECUTABLE} sync --revision
|
||||
${LIBWEBRTC_WEBRTC_REVISION} -D -n)
|
||||
set(_BUILD_COMMAND ${PYTHON_EXECUTABLE} src/tools/clang/scripts/update.py)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue