From e7c5870184222908d1d3900e8daf639371476c16 Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Mon, 13 May 2013 11:34:00 +0200 Subject: [PATCH] fix rpath for the kioslave --- src/kde/kioslave/kio_recoll/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/kde/kioslave/kio_recoll/CMakeLists.txt b/src/kde/kioslave/kio_recoll/CMakeLists.txt index 3cb978ce..9b342b5c 100644 --- a/src/kde/kioslave/kio_recoll/CMakeLists.txt +++ b/src/kde/kioslave/kio_recoll/CMakeLists.txt @@ -46,6 +46,10 @@ IF(PTHREAD_IN_LIBPTHREAD) LIST(APPEND EXTRA_LIBS pthread) ENDIF(PTHREAD_IN_LIBPTHREAD) +# Add e.g. /usr/lib/recoll to the rpath so that the dyn lib will be found at +# run time +SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib/recoll") + kde4_add_plugin(kio_recoll ${kio_recoll_SRCS}) add_custom_target(rcllib