Made Swift 6 local translation support optional.

This commit is contained in:
23rd
2026-04-06 17:43:56 +03:00
parent 9cb41f4517
commit b80f25fbc5
4 changed files with 26 additions and 2 deletions
+3 -1
View File
@@ -97,7 +97,9 @@ PRIVATE
desktop-app::external_xxhash
)
telegram_add_apple_swift_runtime(Telegram)
if (NOT DESKTOP_APP_DISABLE_SWIFT6)
telegram_add_apple_swift_runtime(Telegram)
endif()
target_precompile_headers(Telegram PRIVATE $<$<COMPILE_LANGUAGE:CXX,OBJCXX>:${src_loc}/stdafx.h>)
nice_target_sources(Telegram ${src_loc}