aboutsummaryrefslogtreecommitdiffstats
path: root/testing/telegram-desktop/updater.patch
blob: 4209a0b62f20bba57a43f8b1c5dfa2ac27aa3b18 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
diff --git a/Telegram/CMakeLists.txt b/Telegram/CMakeLists.txt
index d8c623a..bd7cea0 100644
--- a/Telegram/CMakeLists.txt
+++ b/Telegram/CMakeLists.txt
@@ -1117,43 +1117,3 @@ else()
 endif()
 
 set_target_properties(Telegram PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${output_folder})
-
-if (NOT build_macstore AND NOT build_winstore)
-    add_executable(Updater WIN32)
-    init_target(Updater)
-
-    add_dependencies(Telegram Updater)
-
-    nice_target_sources(Updater ${src_loc}
-    PRIVATE
-        _other/updater_win.cpp
-        _other/updater_linux.cpp
-        _other/updater_osx.m
-        _other/updater.h
-    )
-
-    set_target_properties(Updater PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${output_folder})
-
-    if (DESKTOP_APP_SPECIAL_TARGET)
-        add_executable(Packer WIN32)
-        init_target(Packer)
-
-        add_dependencies(Telegram Packer)
-
-        nice_target_sources(Packer ${src_loc}
-        PRIVATE
-            _other/packer.cpp
-            _other/packer.h
-        )
-
-        target_link_libraries(Packer
-        PRIVATE
-            desktop-app::external_qt
-            desktop-app::external_zlib
-            desktop-app::external_auto_updates
-            desktop-app::external_openssl
-        )
-
-        set_target_properties(Packer PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${output_folder})
-    endif()
-endif()