diff options
author | Sebastian Trueg <sebastian@trueg.de> | 2009-11-10 16:27:15 +0000 |
---|---|---|
committer | Sebastian Trueg <sebastian@trueg.de> | 2009-11-10 16:27:15 +0000 |
commit | 7bc1b84c664e4c89565151cd63f3faae2281b78d (patch) | |
tree | 508dff07f01669c1655b79dbee5243973f772dbe /modules | |
parent | d6b3dde8fc9d45ae4171fe2a7c54f5acd79a0ca8 (diff) | |
download | extra-cmake-modules-7bc1b84c664e4c89565151cd63f3faae2281b78d.tar.gz extra-cmake-modules-7bc1b84c664e4c89565151cd63f3faae2281b78d.tar.bz2 |
Also look for the nepomukquery lib
svn path=/trunk/KDE/kdelibs/; revision=1047170
Diffstat (limited to 'modules')
-rw-r--r-- | modules/FindNepomuk.cmake | 11 |
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) |