mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 15:43:55 +02:00
Partially revert "Get rid of /DELAYLOAD"
This partially reverts commit 6586791655
.
This commit is contained in:
parent
1263a5bfc0
commit
26337a6bd4
2 changed files with 12 additions and 1 deletions
|
@ -1919,6 +1919,17 @@ endif()
|
|||
|
||||
set_target_properties(Telegram PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${output_folder})
|
||||
|
||||
if (MSVC)
|
||||
target_link_libraries(Telegram
|
||||
PRIVATE
|
||||
delayimp
|
||||
)
|
||||
target_link_options(Telegram
|
||||
PRIVATE
|
||||
/DELAYLOAD:advapi32.dll
|
||||
)
|
||||
endif()
|
||||
|
||||
target_prepare_qrc(Telegram)
|
||||
|
||||
if (NOT DESKTOP_APP_DISABLE_AUTOUPDATE AND NOT build_macstore AND NOT build_winstore)
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit b77e39d8b421c20655ebf22989293b1ac9521a49
|
||||
Subproject commit 82223f6def70978ac53801f6bac2208e04ecaaf0
|
Loading…
Add table
Reference in a new issue