[education/rkward/releases/0.8.2] /: Avoid picking up external kdsingleapplication on Windows

Thomas Friedrichsmeier null at kde.org
Sun Oct 5 12:42:38 BST 2025


Git commit 064c330e3a7cc6f3713b75549e3fa49abcbf8cf8 by Thomas Friedrichsmeier.
Committed on 05/10/2025 at 11:42.
Pushed by tfry into branch 'releases/0.8.2'.

Avoid picking up external kdsingleapplication on Windows

M  +3    -1    CMakeLists.txt

https://invent.kde.org/education/rkward/-/commit/064c330e3a7cc6f3713b75549e3fa49abcbf8cf8

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8d1ce027b..6a0e1d04e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -31,7 +31,9 @@ FIND_PACKAGE(Qt6 6.6 CONFIG REQUIRED COMPONENTS Widgets Core Xml Network Qml Pri
 FIND_PACKAGE(KF6 6.0.0 REQUIRED COMPONENTS CoreAddons DocTools I18n XmlGui TextEditor WidgetsAddons Parts Config Notifications WindowSystem Archive BreezeIcons OPTIONAL_COMPONENTS Crash)
 FIND_PACKAGE(Gettext REQUIRED)
 
-FIND_PACKAGE(KDSingleApplication-qt6 1.1.0 QUIET)
+if(NOT WIN32) # will apparently pick up trash, on Windows, sometimes
+  FIND_PACKAGE(KDSingleApplication-qt6 1.1.0 QUIET)
+endif()
 if(KDSingleApplication-qt6_FOUND)
   message(STATUS "Using system KDSingleApplication")
 else()


More information about the rkward-tracker mailing list