aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/FindNepomuk.cmake11
1 files changed, 10 insertions, 1 deletions
diff --git a/modules/FindNepomuk.cmake b/modules/FindNepomuk.cmake
index deb0c8c6..d86f0b45 100644
--- a/modules/FindNepomuk.cmake
+++ b/modules/FindNepomuk.cmake
@@ -5,11 +5,12 @@
# NEPOMUK_FOUND - system has Nepomuk
# NEPOMUK_INCLUDE_DIR - the Nepomuk include directory
# NEPOMUK_LIBRARIES - Link these to use Nepomuk
+# NEPOMUK_QUERY_LIBRARIES - Link these to use Nepomuk query
# NEPOMUK_DEFINITIONS - Compiler switches required for using Nepomuk
#
-# Copyright (c) 2008, Sebastian Trueg, <sebastian@trueg.de>
+# Copyright (c) 2008-2009, Sebastian Trueg, <sebastian@trueg.de>
#
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
@@ -45,6 +46,14 @@ if (Soprano_FOUND)
${LIB_INSTALL_DIR}
)
+ find_library(NEPOMUK_QUERY_LIBRARIES
+ NAMES
+ nepomukquery
+ PATHS
+ ${KDE4_LIB_DIR}
+ ${LIB_INSTALL_DIR}
+ )
+
mark_as_advanced(NEPOMUK_INCLUDE_DIR NEPOMUK_LIBRARIES)
endif (NEPOMUK_INCLUDE_DIR AND NEPOMUK_LIBRARIES)