mirror of
https://github.com/UltraCoderRU/libwebrtc.git
synced 2026-01-28 03:15:11 +00:00
27 lines
569 B
CMake
27 lines
569 B
CMake
if (DEPOT_TOOLS_PATH)
|
|
return()
|
|
endif (DEPOT_TOOLS_PATH)
|
|
|
|
include(ExternalProject)
|
|
|
|
if (WIN32)
|
|
set(GCLIENT_EXECUTABLE ${CMAKE_BINARY_DIR}/depot_tools/gclient.bat)
|
|
else (WIN32)
|
|
set(GCLIENT_EXECUTABLE ${CMAKE_BINARY_DIR}/depot_tools/gclient)
|
|
endif (WIN32)
|
|
|
|
ExternalProject_Add(
|
|
depot-tools
|
|
|
|
GIT_REPOSITORY https://chromium.googlesource.com/chromium/tools/depot_tools
|
|
|
|
PREFIX ${CMAKE_BINARY_DIR}/depot_tools
|
|
|
|
CONFIGURE_COMMAND ""
|
|
UPDATE_COMMAND ""
|
|
PATCH_COMMAND ""
|
|
BUILD_COMMAND ""
|
|
INSTALL_COMMAND ""
|
|
)
|
|
|
|
set(_NEXT_DEPENDS depot-tools)
|