From 798c5e8b7c432fa71acb64fa9faf3b8fbc694a04 Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Thu, 18 Mar 2021 19:59:51 +0100 Subject: [PATCH] Add runtime dependency on qqc2-desktop-style It's the only style we really support (besides qqc2-breeze-style) so make sure distros ship it when shipping NeoChat --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 14e3a8567..32dc8598a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -60,6 +60,11 @@ if(ANDROID) TYPE REQUIRED PURPOSE "Encrypted communications" ) +else() + find_package(KF5QQC2DesktopStyle ${KF5_MIN_VERSION} REQUIRED) + set_package_properties(KF5QQC2DesktopStyle PROPERTIES + TYPE RUNTIME + ) endif() if (NOT ANDROID AND NOT WIN32 AND NOT APPLE)