From 3ac03b43e144481151eadd92d5e1ded0aa26ed82 Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Mon, 28 Apr 2025 20:19:53 +0400 Subject: [PATCH] Add missing dependency on win_directx_helper --- Telegram/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Telegram/CMakeLists.txt b/Telegram/CMakeLists.txt index 7fa9bb9361..2dcac37d05 100644 --- a/Telegram/CMakeLists.txt +++ b/Telegram/CMakeLists.txt @@ -1732,6 +1732,10 @@ if (WIN32) # COMMENT # $ # ) + + if (QT_VERSION LESS 6) + target_link_libraries(Telegram PRIVATE desktop-app::win_directx_helper) + endif() elseif (APPLE) if (NOT DESKTOP_APP_USE_PACKAGED) target_link_libraries(Telegram PRIVATE desktop-app::external_iconv)