mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Selectively request LTCG on Windows 32 bit build.
This commit is contained in:
parent
02e2fb1258
commit
54f697eba1
11 changed files with 11 additions and 22 deletions
|
@ -5,7 +5,7 @@
|
|||
# https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
|
||||
add_executable(Telegram WIN32 MACOSX_BUNDLE)
|
||||
init_non_host_target(Telegram)
|
||||
init_non_host_target(Telegram ltcg)
|
||||
|
||||
add_subdirectory(lib_rpl)
|
||||
add_subdirectory(lib_crl)
|
||||
|
@ -1601,17 +1601,6 @@ if (WIN32)
|
|||
/DELAYLOAD:wtsapi32.dll
|
||||
/DELAYLOAD:propsys.dll
|
||||
)
|
||||
|
||||
if (NOT build_win64 AND DESKTOP_APP_SPECIAL_TARGET)
|
||||
target_compile_options(Telegram
|
||||
PRIVATE
|
||||
$<IF:$<CONFIG:Debug>,,/GL>
|
||||
)
|
||||
target_link_options(Telegram
|
||||
PRIVATE
|
||||
$<IF:$<CONFIG:Debug>,,/LTCG>
|
||||
)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
target_prepare_qrc(Telegram)
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
add_library(lib_ffmpeg OBJECT)
|
||||
add_library(desktop-app::lib_ffmpeg ALIAS lib_ffmpeg)
|
||||
init_target(lib_ffmpeg)
|
||||
init_target(lib_ffmpeg ltcg)
|
||||
|
||||
nice_target_sources(lib_ffmpeg ${src_loc}
|
||||
PRIVATE
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
|
||||
add_library(td_mtproto OBJECT)
|
||||
init_non_host_target(td_mtproto)
|
||||
init_non_host_target(td_mtproto ltcg)
|
||||
add_library(tdesktop::td_mtproto ALIAS td_mtproto)
|
||||
|
||||
target_precompile_headers(td_mtproto PRIVATE ${src_loc}/mtproto/mtproto_pch.h)
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
|
||||
add_library(td_scheme OBJECT)
|
||||
init_non_host_target(td_scheme)
|
||||
init_non_host_target(td_scheme ltcg)
|
||||
add_library(tdesktop::td_scheme ALIAS td_scheme)
|
||||
|
||||
include(cmake/generate_scheme.cmake)
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
|
||||
add_library(td_ui OBJECT)
|
||||
init_non_host_target(td_ui)
|
||||
init_non_host_target(td_ui ltcg)
|
||||
add_library(tdesktop::td_ui ALIAS td_ui)
|
||||
|
||||
include(lib_ui/cmake/generate_styles.cmake)
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit c730d405680e4c1dc7ec5166f09fa320fb56bfdb
|
||||
Subproject commit d69f85256acabb1aa962079131b4c5dbd9905592
|
|
@ -1 +1 @@
|
|||
Subproject commit 4e620bc383d032aadea8e6af02661f8c76695cec
|
||||
Subproject commit 53d1322171ddfcfbce767cad1e2f0cb4efb91997
|
|
@ -1 +1 @@
|
|||
Subproject commit 6ed1c22ed60692d2f288c9222fafd7d5cd62f904
|
||||
Subproject commit 99d1d946633819e375f9ea5508a903d37fef7146
|
|
@ -1 +1 @@
|
|||
Subproject commit 59a7b94ef4bb4d4cf6597d53bdacccbf5720e694
|
||||
Subproject commit d5921e742fa9f17f65a25091a184f5a8a72ea779
|
|
@ -1 +1 @@
|
|||
Subproject commit 9b11599c3c56047cfa4c68b69f1fcc93b602c33a
|
||||
Subproject commit 511c2485bb7d3e5bef590318d080077af4ffb7fb
|
2
cmake
2
cmake
|
@ -1 +1 @@
|
|||
Subproject commit 125b9571c58186d7190fb12a54a70493d4722627
|
||||
Subproject commit f4c7f67d6007cdf7bf525ad9c79c2ef565c770ab
|
Loading…
Add table
Reference in a new issue