aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-29 16:48:53 +0200
committerDanilo M. <danix@danix.xyz>2026-09-29 16:48:53 +0200
commitd2793dd583041941348d5a984764160ddd48102b (patch)
treec78bd68eaf44bd652b6c7deed2e4ffffd4c8670c /CMakeLists.txt
parent8fa9911f2088b8510c4175c8f961eb9900e389e0 (diff)
downloadqtmaildir-d2793dd583041941348d5a984764160ddd48102b.tar.gz
qtmaildir-d2793dd583041941348d5a984764160ddd48102b.zip
build: link Qt6::Network for the single-instance socket
A unix domain socket between two copies of this program, for item 200. Not network protocol work: the rule in AGENTS.md is about IMAP and SMTP. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 59cd578..9cb396f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -17,7 +17,12 @@ option(QTMAILDIR_BUILD_TESTS "Build the test suite" ON)
# SlackBuild builds from a tarball that carries no counter at all.
option(QTMAILDIR_BUILD_NUMBER "Number each build of a dev tree" ON)
-set(QTMAILDIR_QT_COMPONENTS Widgets Svg WebEngineWidgets)
+# Network is for QLocalServer/QLocalSocket only, which is a unix domain socket
+# between two copies of this program (item 200). It is NOT network protocol
+# work: the rule in AGENTS.md is about IMAP and SMTP, and nothing here speaks
+# either. Slackware ships it inside the monolithic qt6 package, so this adds no
+# new build dependency.
+set(QTMAILDIR_QT_COMPONENTS Widgets Svg WebEngineWidgets Network)
if(QTMAILDIR_BUILD_TESTS)
list(APPEND QTMAILDIR_QT_COMPONENTS Test)
endif()