Skip to content
Snippets Groups Projects
Commit 48a20c53 authored by Roxie Linden's avatar Roxie Linden
Browse files

Use webrtc built binaries from temporary s3 location

parent 8fa09570
No related branches found
No related tags found
No related merge requests found
...@@ -3,23 +3,34 @@ ...@@ -3,23 +3,34 @@
include(FetchContent) include(FetchContent)
if (WINDOWS) if (WINDOWS)
FetchContent_Declare( if( ADDRESS_SIZE EQUAL 32 )
webrtc FetchContent_Declare(
URL http://localhost:8000/webrtc.windows_x86_64.tar.bz2 webrtc
URL_HASH MD5=dfb692562770dc8c877ebfe4302e2881 URL https://webrtc-build-releases.s3.us-west-2.amazonaws.com/webrtc.windows_x86.tar.bz2
FIND_PACKAGE_ARGS NAMES webrtc URL_HASH MD5=0d55e58efceed3fb48085a5f0c58881c
DOWNLOAD_EXTRACT_TIMESTAMP TRUE FIND_PACKAGE_ARGS NAMES webrtc
DOWNLOAD_DIR "${LIBS_PREBUILT_DIR}/webrtc/" DOWNLOAD_EXTRACT_TIMESTAMP TRUE
) DOWNLOAD_DIR "${LIBS_PREBUILT_DIR}/webrtc/"
)
else ( ADDRESS_SIZE EQUAL 32 )
FetchContent_Declare(
webrtc
URL https://webrtc-build-releases.s3.us-west-2.amazonaws.com/webrtc.windows_x86_64.tar.bz2
URL_HASH MD5=dfb692562770dc8c877ebfe4302e2881
FIND_PACKAGE_ARGS NAMES webrtc
DOWNLOAD_EXTRACT_TIMESTAMP TRUE
DOWNLOAD_DIR "${LIBS_PREBUILT_DIR}/webrtc/"
)
endif ( ADDRESS_SIZE EQUAL 32 )
elseif (DARWIN) elseif (DARWIN)
FetchContent_Declare( FetchContent_Declare(
webrtc webrtc
URL http://localhost:8000/webrtc.macos_x86_64.tar.bz2 URL https://webrtc-build-releases.s3.us-west-2.amazonaws.com/webrtc.macos_x86_64.tar.bz2
URL_HASH MD5=cfbcac7da897a862f9791ea29330b814 URL_HASH MD5=cfbcac7da897a862f9791ea29330b814
FIND_PACKAGE_ARGS NAMES webrtc FIND_PACKAGE_ARGS NAMES webrtc
DOWNLOAD_EXTRACT_TIMESTAMP TRUE DOWNLOAD_EXTRACT_TIMESTAMP TRUE
DOWNLOAD_DIR "${LIBS_PREBUILT_DIR}/webrtc/" DOWNLOAD_DIR "${LIBS_PREBUILT_DIR}/webrtc/"
) )
endif (WINDOWS) endif (WINDOWS)
FetchContent_MakeAvailable(webrtc) FetchContent_MakeAvailable(webrtc)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment