From 032892636b5418b615728a9a1cdd3ad621cbc3bf Mon Sep 17 00:00:00 2001 From: Michel Promonet Date: Thu, 19 Dec 2024 21:47:09 +0100 Subject: [PATCH] long commit --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a61416c9..efdacef1 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ project (webrtc-streamer) set (WEBRTCROOT "${CMAKE_CURRENT_SOURCE_DIR}/../webrtc" CACHE STRING "WEBRTC root directory") set (WEBRTCDESKTOPCAPTURE "ON" CACHE STRING "WEBRTC Desktop capture") set (WEBRTCCHROMEBRANDED "ON" CACHE STRING "WEBRTC Chrome branded") -set (WEBRTCVERSION "b00c469cad" CACHE STRING "WEBRTC version") +set (WEBRTCVERSION "b00c469cad3f8c926fcf81ded90b90b6e1e62b9c" CACHE STRING "WEBRTC version") if(NOT CMAKE_BUILD_TYPE) set (CMAKE_BUILD_TYPE "Release") @@ -43,6 +43,7 @@ set (WEBRTCOBJS ${WEBRTCROOT}/src/out/${CMAKE_BUILD_TYPE}/obj) if (NOT EXISTS ${WEBRTCOBJS}/${CMAKE_STATIC_LIBRARY_PREFIX}webrtc${CMAKE_STATIC_LIBRARY_SUFFIX}) if(GIT_FOUND) + EXECUTE_PROCESS(WORKING_DIRECTORY ${WEBRTCROOT}/src COMMAND ${GIT_EXECUTABLE} status) EXECUTE_PROCESS(WORKING_DIRECTORY ${WEBRTCROOT}/src COMMAND ${GIT_EXECUTABLE} fetch) EXECUTE_PROCESS(WORKING_DIRECTORY ${WEBRTCROOT}/src COMMAND ${GIT_EXECUTABLE} checkout ${WEBRTCVERSION}) endif()