From 7bc1b84c664e4c89565151cd63f3faae2281b78d Mon Sep 17 00:00:00 2001 From: Sebastian Trueg Date: Tue, 10 Nov 2009 16:27:15 +0000 Subject: Also look for the nepomukquery lib svn path=/trunk/KDE/kdelibs/; revision=1047170 --- modules/FindNepomuk.cmake | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'modules') 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, +# Copyright (c) 2008-2009, Sebastian Trueg, # # 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) -- cgit v1.2.1