From 8e9f2c5eee2b11b15e1941db7aed23da172b8d5a Mon Sep 17 00:00:00 2001 From: Axel Isouard Date: Fri, 30 Sep 2016 22:36:49 +0200 Subject: [PATCH] Checkout WebRTC on a specific revision --- CMakeLists.txt | 1 + Targets/Fetch/CMakeLists.txt | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 44e43cd..0669cab 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -65,6 +65,7 @@ endif() set(LIBWEBRTC_LIBRARY ${CMAKE_STATIC_LIBRARY_PREFIX}webrtc${CMAKE_STATIC_LIBRARY_SUFFIX}) set(LIBWEBRTC_BUILD_ROOT ${CMAKE_SOURCE_DIR}/src/out/Default) set(LIBWEBRTC_CHROMIUM_DEPS git@github.com:aisouard/libwebrtc-chromium-deps.git) +set(LIBWEBRTC_WEBRTC_REVISION 7502401788fcba5c9f81a9e4701e2f0831e78698) add_subdirectory(Targets) diff --git a/Targets/Fetch/CMakeLists.txt b/Targets/Fetch/CMakeLists.txt index a9101a6..74b0807 100644 --- a/Targets/Fetch/CMakeLists.txt +++ b/Targets/Fetch/CMakeLists.txt @@ -21,7 +21,8 @@ add_libwebrtc_command(libwebrtc_config # set(GCLIENT_SYNC_COMMAND - ${DEPOTTOOLS_GCLIENT_EXECUTABLE} sync -n -D + ${DEPOTTOOLS_GCLIENT_EXECUTABLE} sync + --revision ${LIBWEBRTC_WEBRTC_REVISION} -n -D ) add_libwebrtc_command(libwebrtc_sync