Blob Blame History Raw
diff --git a/kde/kioslave/kio_recoll-kde4/CMakeLists.txt b/kde/kioslave/kio_recoll-kde4/CMakeLists.txt
index 29435cf..9756691 100644
--- a/kde/kioslave/kio_recoll-kde4/CMakeLists.txt
+++ b/kde/kioslave/kio_recoll-kde4/CMakeLists.txt
@@ -60,7 +60,7 @@ add_custom_target(rcllib
 )
 add_dependencies(kio_recoll rcllib)
 
-target_link_libraries(kio_recoll recoll xapian xslt xml2 z ${EXTRA_LIBS} ${KDE4_KIO_LIBS})
+target_link_libraries(kio_recoll recoll xapian xslt xml2 z ${EXTRA_LIBS} ${KDE4_KIO_LIBS} X11)
 
 install(TARGETS kio_recoll DESTINATION ${PLUGIN_INSTALL_DIR})
 
diff --git a/kde/kioslave/kio_recoll/CMakeLists.txt b/kde/kioslave/kio_recoll/CMakeLists.txt
index ca10542..14f426f 100644
--- a/kde/kioslave/kio_recoll/CMakeLists.txt
+++ b/kde/kioslave/kio_recoll/CMakeLists.txt
@@ -85,6 +85,7 @@ xapian
 xslt
 xml2
 KF5::KIOCore
+X11
 dl
 z
 pthread