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
This commit is contained in:
Nicolas Fella
2021-03-18 19:59:51 +01:00
parent e2aefb6bdc
commit 798c5e8b7c

View File

@@ -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)