[education/rkward] /: Avoid picking up external kdsingleapplication on Windows
Thomas Friedrichsmeier
null at kde.org
Tue Nov 4 16:44:04 GMT 2025
Git commit 2885a66139f93742b250c9d3943d93ed55ff1a7b by Thomas Friedrichsmeier.
Committed on 04/11/2025 at 16:43.
Pushed by tfry into branch 'master'.
Avoid picking up external kdsingleapplication on Windows
M +3 -1 CMakeLists.txt
https://invent.kde.org/education/rkward/-/commit/2885a66139f93742b250c9d3943d93ed55ff1a7b
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1ee0d45da..bd779c453 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