diff options
| -rw-r--r-- | CMakeLists.txt | 7 | ||||
| -rw-r--r-- | src/CMakeLists.txt | 3 |
2 files changed, 8 insertions, 2 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() diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 65404db..0940e4f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -66,7 +66,8 @@ if(TARGET qtmaildir_buildnumber) endif() target_link_libraries(qtmaildir_lib - PUBLIC Qt6::Widgets Qt6::Svg Qt6::WebEngineWidgets PkgConfig::GMIME + PUBLIC Qt6::Widgets Qt6::Svg Qt6::WebEngineWidgets Qt6::Network + PkgConfig::GMIME PkgConfig::LIBICAL ${NOTMUCH_LIBRARY} PkgConfig::CMARK_GFM ${CMARK_GFM_EXTENSIONS_LIBRARY}) |
