Index: tdesktop-4.4.0-full/cmake/external/webrtc/CMakeLists.txt =================================================================== --- tdesktop-4.4.0-full.orig/cmake/external/webrtc/CMakeLists.txt +++ tdesktop-4.4.0-full/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()