diff --git a/Telegram/SourceFiles/platform/linux/specific_linux.cpp b/Telegram/SourceFiles/platform/linux/specific_linux.cpp index f079fce8ed..e641c98ff9 100644 --- a/Telegram/SourceFiles/platform/linux/specific_linux.cpp +++ b/Telegram/SourceFiles/platform/linux/specific_linux.cpp @@ -83,7 +83,7 @@ bool RunShellCommand(const QByteArray &command) { } void FallbackFontConfig() { -#ifndef DESKTOP_APP_USE_PACKAGED +#ifdef TDESKTOP_USE_FONT_CONFIG_FALLBACK const auto custom = cWorkingDir() + "tdata/fc-custom-1.conf"; const auto finish = gsl::finally([&] { if (QFile(custom).exists()) { @@ -118,7 +118,7 @@ void FallbackFontConfig() { } QFile(":/fc/fc-custom.conf").copy(custom); -#endif // !DESKTOP_APP_USE_PACKAGED +#endif // TDESKTOP_USE_FONT_CONFIG_FALLBACK } bool GenerateDesktopFile(const QString &targetPath, const QString &args) { diff --git a/cmake b/cmake index 6eff82642b..22b099429a 160000 --- a/cmake +++ b/cmake @@ -1 +1 @@ -Subproject commit 6eff82642be0dd58c5c31b9cf2f0a905d9cac4b9 +Subproject commit 22b099429aa9368fe0339ee48bcf6dbcdd3ac8d5