From 438a560a796b15bb03f2c6b67c8561c9f9216e08 Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 13 May 2020 17:04:35 +0400 Subject: [PATCH] Link tdesktop with external_webrtc. --- .gitmodules | 3 +++ Telegram/CMakeLists.txt | 2 ++ Telegram/lib_webrtc | 1 + 3 files changed, 6 insertions(+) create mode 160000 Telegram/lib_webrtc diff --git a/.gitmodules b/.gitmodules index 77e210b6d6..e0dcccaa9a 100644 --- a/.gitmodules +++ b/.gitmodules @@ -94,3 +94,6 @@ [submodule "Telegram/ThirdParty/fcitx5-qt"] path = Telegram/ThirdParty/fcitx5-qt url = https://github.com/fcitx/fcitx5-qt.git +[submodule "Telegram/lib_webrtc"] + path = Telegram/lib_webrtc + url = https://github.com/desktop-app/lib_webrtc.git diff --git a/Telegram/CMakeLists.txt b/Telegram/CMakeLists.txt index a26881c4dd..0fbb39e44d 100644 --- a/Telegram/CMakeLists.txt +++ b/Telegram/CMakeLists.txt @@ -18,6 +18,7 @@ endif() add_subdirectory(lib_storage) add_subdirectory(lib_lottie) add_subdirectory(lib_qr) +add_subdirectory(lib_webrtc) add_subdirectory(codegen) include(CheckCXXSourceCompiles) @@ -111,6 +112,7 @@ PRIVATE desktop-app::lib_tl desktop-app::lib_storage desktop-app::lib_lottie + desktop-app::lib_webrtc desktop-app::lib_qr desktop-app::lib_ffmpeg desktop-app::external_lz4 diff --git a/Telegram/lib_webrtc b/Telegram/lib_webrtc new file mode 160000 index 0000000000..2b1cd3b5b0 --- /dev/null +++ b/Telegram/lib_webrtc @@ -0,0 +1 @@ +Subproject commit 2b1cd3b5b0c909834aea00e0590435a63d318468