1
0
telegram-desktop/0001-use-bundled-webrtc.patch
Xu Zhao affff00130 Accepting request 985163 from home:nuklly:branches:server:messaging
- Add 0002-use-bundled-rnnoise-expected-gsl-ranges-webrtc.patch
  * Fix the build on openSUSE 15.4
- Rename 0001-use-bundled-ranged-exptected-gsl.patch to
  0001-use-bundled-webrtc.patch
  * Use system provided ranged, gsl, and ranges library.

OBS-URL: https://build.opensuse.org/request/show/985163
OBS-URL: https://build.opensuse.org/package/show/server:messaging/telegram-desktop?expand=0&rev=230
2022-06-27 18:27:17 +00:00

12 lines
409 B
Diff

--- a/cmake/external/webrtc/CMakeLists.txt
+++ b/cmake/external/webrtc/CMakeLists.txt
@@ -7,7 +7,7 @@
add_library(external_webrtc INTERFACE IMPORTED GLOBAL)
add_library(desktop-app::external_webrtc ALIAS external_webrtc)
-if (DESKTOP_APP_USE_PACKAGED)
+if (NOT DESKTOP_APP_USE_PACKAGED)
find_package(tg_owt REQUIRED)
target_link_libraries(external_webrtc INTERFACE tg_owt::tg_owt)
return()