mirror of
https://github.com/UltraCoderRU/libwebrtc.git
synced 2026-01-28 03:15:11 +00:00
Update depot-tools after cloning
This commit is contained in:
parent
dccaa6f5f4
commit
3315befa38
1 changed files with 4 additions and 2 deletions
|
|
@ -28,20 +28,22 @@ include(ExternalProject)
|
||||||
if (NOT HAS_OWN_DEPOT_TOOLS)
|
if (NOT HAS_OWN_DEPOT_TOOLS)
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
set(GCLIENT_EXECUTABLE ${CMAKE_BINARY_DIR}/depot_tools/src/depot-tools/gclient.bat)
|
set(GCLIENT_EXECUTABLE ${CMAKE_BINARY_DIR}/depot_tools/src/depot-tools/gclient.bat)
|
||||||
|
set(DEPOT_UPDATE_COMMAND update_depot_tools.bat)
|
||||||
else (WIN32)
|
else (WIN32)
|
||||||
set(GCLIENT_EXECUTABLE ${CMAKE_BINARY_DIR}/depot_tools/src/depot-tools/gclient)
|
set(GCLIENT_EXECUTABLE ${CMAKE_BINARY_DIR}/depot_tools/src/depot-tools/gclient)
|
||||||
|
set(DEPOT_UPDATE_COMMAND bash update_depot_tools)
|
||||||
endif (WIN32)
|
endif (WIN32)
|
||||||
|
|
||||||
ExternalProject_Add(
|
ExternalProject_Add(
|
||||||
depot-tools
|
depot-tools
|
||||||
|
|
||||||
GIT_REPOSITORY https://chromium.googlesource.com/chromium/tools/depot_tools
|
GIT_REPOSITORY https://chromium.googlesource.com/chromium/tools/depot_tools.git
|
||||||
|
|
||||||
PREFIX ${CMAKE_BINARY_DIR}/depot_tools
|
PREFIX ${CMAKE_BINARY_DIR}/depot_tools
|
||||||
|
|
||||||
CONFIGURE_COMMAND ""
|
CONFIGURE_COMMAND ""
|
||||||
UPDATE_COMMAND ""
|
UPDATE_COMMAND ""
|
||||||
PATCH_COMMAND ""
|
PATCH_COMMAND ${DEPOT_UPDATE_COMMAND}
|
||||||
BUILD_COMMAND ""
|
BUILD_COMMAND ""
|
||||||
INSTALL_COMMAND ""
|
INSTALL_COMMAND ""
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue