From 7309cf724937e67dec8f46af5c8b424c7261cde4 Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Thu, 5 Oct 2023 11:10:32 +0200 Subject: [PATCH] Add dbus addons on Windows BUG: 474678 --- .kde-ci.yml | 4 +++- CMakeLists.txt | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.kde-ci.yml b/.kde-ci.yml index fab822fe4..2b673357b 100644 --- a/.kde-ci.yml +++ b/.kde-ci.yml @@ -20,15 +20,17 @@ Dependencies: 'third-party/qtkeychain': '@latest' 'third-party/cmark': '@latest' 'third-party/qcoro': '@latest' + - 'on': ['Windows', 'Linux', 'FreeBSD'] 'require': 'frameworks/qqc2-desktop-style': '@latest-kf6' 'frameworks/kio': '@latest-kf6' 'frameworks/kwindowsystem': '@latest-kf6' 'frameworks/kconfigwidgets': '@latest-kf6' + 'frameworks/kdbusaddons': '@latest-kf6' + - 'on': ['Linux', 'FreeBSD'] 'require': - 'frameworks/kdbusaddons': '@latest-kf6' 'frameworks/kstatusnotifieritem': '@latest-kf6' - 'on': ['Linux'] diff --git a/CMakeLists.txt b/CMakeLists.txt index 6a33367a0..ea6585d2b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -89,7 +89,7 @@ else() ) endif() -if (NOT ANDROID AND NOT WIN32 AND NOT APPLE) +if (NOT ANDROID AND NOT APPLE) find_package(KF6DBusAddons ${KF_MIN_VERSION} REQUIRED) endif()