[pim/messagelib] /: .kde-ci.yml - enable installed library checking

Laurent Montel <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit d1664fd101ceb64305bcfd9f64186f3a2460d2b0 by Laurent Montel.
Committed on 29/07/2026 at 05:00.
Pushed by mlaurent into branch 'master'.

.kde-ci.yml - enable installed library checking

M  +1    -0    .kde-ci.yml
M  +1    -1    mimetreeparser/src/CMakeLists.txt
M  +4    -0    mimetreeparser/src/KPimMimeTreeParserConfig.cmake.in

https://invent.kde.org/pim/messagelib/-/commit/d1664fd101ceb64305bcfd9f64186f3a2460d2b0

diff --git a/.kde-ci.yml b/.kde-ci.yml
index 86666c979..6b5e89840 100644
--- a/.kde-ci.yml
+++ b/.kde-ci.yml
@@ -35,3 +35,4 @@ Options:
  per-test-timeout: 120
  require-passing-tests-on: ['Linux']
  use-ccache: True
+ run-installed-library-check: true
diff --git a/mimetreeparser/src/CMakeLists.txt b/mimetreeparser/src/CMakeLists.txt
index 3053714f3..efe475615 100644
--- a/mimetreeparser/src/CMakeLists.txt
+++ b/mimetreeparser/src/CMakeLists.txt
@@ -186,13 +186,13 @@ target_link_libraries(
     PUBLIC
         Qt::Core
         KF6::Mime
+        QGpgmeQt6
     PRIVATE
         KF6::Codecs
         KF6::I18n
         KF6::CoreAddons
         KPim6::Libkleo
         Qt::Gui
-        QGpgmeQt6
 )
 
 install(TARGETS KPim6MimeTreeParser EXPORT KPim6MimeTreeParserTargets ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
diff --git a/mimetreeparser/src/KPimMimeTreeParserConfig.cmake.in b/mimetreeparser/src/KPimMimeTreeParserConfig.cmake.in
index 3551f05bd..3f80aba2f 100644
--- a/mimetreeparser/src/KPimMimeTreeParserConfig.cmake.in
+++ b/mimetreeparser/src/KPimMimeTreeParserConfig.cmake.in
@@ -8,5 +8,9 @@ find_dependency(
     Qt6Core
     "@QT_REQUIRED_VERSION@"
 )
+find_dependency(
+    QGpgmeQt6
+    "@GPGME_REQUIRED_VERSION@"
+)
 
 include("${CMAKE_CURRENT_LIST_DIR}/KPim6MimeTreeParserTargets.cmake")
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.