mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Remove duplicate LTCG flags in td_scheme.
This commit is contained in:
parent
c4402c717a
commit
1a9e217c3e
1 changed files with 0 additions and 8 deletions
|
@ -34,14 +34,6 @@ PUBLIC
|
|||
desktop-app::lib_tl
|
||||
)
|
||||
|
||||
if (WIN32 AND NOT build_win64 AND DESKTOP_APP_SPECIAL_TARGET)
|
||||
target_compile_options(td_scheme
|
||||
PRIVATE
|
||||
$<IF:$<CONFIG:Debug>,,/GL>
|
||||
)
|
||||
set_property(TARGET td_scheme APPEND_STRING PROPERTY STATIC_LIBRARY_OPTIONS "$<IF:$<CONFIG:Debug>,,/LTCG>")
|
||||
endif()
|
||||
|
||||
if (CMAKE_SYSTEM_PROCESSOR STREQUAL "mips64")
|
||||
# Sometimes final linking may fail with error "relocation truncated to fit"
|
||||
# due to large scheme size.
|
||||
|
|
Loading…
Add table
Reference in a new issue