mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-01-14 03:01:15 +00:00
Fix build for Xcode.
This commit is contained in:
parent
a29e8f9a06
commit
18f38f0983
@ -453,7 +453,7 @@ void EditScans::setupSpecialScans(std::map<SpecialFile, ScanInfo> &&files) {
|
||||
) | Info::Profile::ToUpperValue(),
|
||||
st::passportUploadButton),
|
||||
st::passportUploadButtonPadding);
|
||||
scan.upload->addClickHandler([=] {
|
||||
scan.upload->addClickHandler([=, type = type] {
|
||||
chooseSpecialScan(type);
|
||||
});
|
||||
|
||||
|
@ -28,7 +28,7 @@ else
|
||||
#gyp --depth=. --generator-output=../.. -Goutput_dir=out Telegram.gyp --format=xcode-ninja
|
||||
#gyp --depth=. --generator-output=../.. -Goutput_dir=out Telegram.gyp --format=xcode
|
||||
# use patched gyp with Xcode project generator
|
||||
../../../Libraries/gyp/gyp --depth=. --generator-output=.. -Goutput_dir=../out -Gxcode_upgrade_check_project_version=930 -Dofficial_build_target=$BuildTarget Telegram.gyp --format=xcode
|
||||
../../../Libraries/gyp/gyp --depth=. --generator-output=.. -Goutput_dir=../out -Gxcode_upgrade_check_project_version=940 -Dofficial_build_target=$BuildTarget Telegram.gyp --format=xcode
|
||||
fi
|
||||
|
||||
cd ../..
|
||||
|
Loading…
Reference in New Issue
Block a user