diff options
| author | Funda Wang <fundawang@gmail.com> | 2010-11-12 05:28:18 +0000 | 
|---|---|---|
| committer | Funda Wang <fundawang@gmail.com> | 2010-11-12 05:28:18 +0000 | 
| commit | 8d0b6049589aa183ac6791de7baf5aa14195bc3f (patch) | |
| tree | c32cb02698adf50c98eda21f5b43f22a3f5d9802 | |
| parent | 95ffc4dde3715e66195bce7ec25c08a6b5e8cc73 (diff) | |
| download | extra-cmake-modules-8d0b6049589aa183ac6791de7baf5aa14195bc3f.tar.gz extra-cmake-modules-8d0b6049589aa183ac6791de7baf5aa14195bc3f.tar.bz2 | |
find nepomuk_utils also
svn path=/trunk/KDE/kdelibs/; revision=1195844
| -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 0a24bdb6..5a5b20f0 100644 --- a/modules/FindNepomuk.cmake +++ b/modules/FindNepomuk.cmake @@ -4,6 +4,7 @@  #  NEPOMUK_INCLUDE_DIR - the Nepomuk include directory  #  NEPOMUK_LIBRARIES - Link these to use Nepomuk  #  NEPOMUK_QUERY_LIBRARIES - Link these to use Nepomuk query +#  NEPOMUK_UTILS_LIBRARIES - Link these to use Nepomuk utils  #  NEPOMUK_DEFINITIONS - Compiler switches required for using Nepomuk  #  # Nepomuk requires Soprano, so this module checks for Soprano too. @@ -54,6 +55,14 @@ find_library(NEPOMUK_QUERY_LIBRARIES    ${LIB_INSTALL_DIR}    ) +find_library(NEPOMUK_UTILS_LIBRARIES +  NAMES +  nepomukutils +  HINTS +  ${KDE4_LIB_DIR} +  ${LIB_INSTALL_DIR} +) +  find_file(NEPOMUK_ADDONTOLOGYCLASSES_FILE NepomukAddOntologyClasses.cmake            HINTS ${KDE4_DATA_INSTALL_DIR}/cmake/modules/            PATH_SUFFIXES share/apps/cmake/modules/ @@ -61,7 +70,7 @@ find_file(NEPOMUK_ADDONTOLOGYCLASSES_FILE NepomukAddOntologyClasses.cmake  include("${NEPOMUK_ADDONTOLOGYCLASSES_FILE}" OPTIONAL) -mark_as_advanced(NEPOMUK_INCLUDE_DIR NEPOMUK_LIBRARIES NEPOMUK_QUERY_LIBRARIES NEPOMUK_ADDONTOLOGIES_FILE) +mark_as_advanced(NEPOMUK_INCLUDE_DIR NEPOMUK_LIBRARIES NEPOMUK_QUERY_LIBRARIES NEPOMUK_UTILS_LIBRARIES NEPOMUK_ADDONTOLOGIES_FILE)  include(FindPackageHandleStandardArgs)  # List all nepomuk and also all necessary soprano variables here, to make it | 
