diff options
author | Sebastian Trueg <sebastian@trueg.de> | 2007-04-30 21:48:24 +0000 |
---|---|---|
committer | Sebastian Trueg <sebastian@trueg.de> | 2007-04-30 21:48:24 +0000 |
commit | 82673c9f0aa76ec0597a631e0efbd14a8d44e7fb (patch) | |
tree | ba922da9670ed4e8358796d79ff8bbca4e325f1d | |
parent | 3064c1c13ccb7376d644200cde6ad9dce3ebb478 (diff) | |
download | extra-cmake-modules-82673c9f0aa76ec0597a631e0efbd14a8d44e7fb.tar.gz extra-cmake-modules-82673c9f0aa76ec0597a631e0efbd14a8d44e7fb.tar.bz2 |
* Moved Soprano/QRDF to kdesupport
* Moved libKnepomuk, libKonto, and libKMetaData into kdelibs
(the GUI elements still need to be sorted out.)
* Moved the KNepomuk coreservices and the service registry into
kdebase/runtime.
It was agreed that this move makes sense even though KDE should be frozen
already since it is an important technology.
All of the new modules are optional which means that if Soprano is not installed
none of the KNepomuk parts will be. Still missing is a cmake message
stating this.
CCMAIL: nepomuk-kde@semanticdesktop.org
svn path=/trunk/KDE/kdelibs/; revision=659840
-rw-r--r-- | modules/FindKonto.cmake | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/modules/FindKonto.cmake b/modules/FindKonto.cmake new file mode 100644 index 00000000..fa3db265 --- /dev/null +++ b/modules/FindKonto.cmake @@ -0,0 +1,35 @@ +# Once done this will define +# +# KONTO_FOUND - system has the Nepomuk-KDE backbone lib Konto +# KONTO_INCLUDES - the libKonto include directory +# KONTO_LIBRARIES - Link these to use libKonto +# + +FIND_PATH(KONTO_INCLUDES + NAMES + konto/class.h + PATHS + /usr/include + /usr/local/include + ${KDE4_INCLUDE_DIR} + ${INCLUDE_INSTALL_DIR} +) + +FIND_LIBRARY(KONTO_LIBRARIES + NAMES + konto + PATHS + /usr/lib + /usr/local/lib + ${KDE4_LIB_DIR} + ${LIB_INSTALL_DIR} +) + +if(KONTO_INCLUDES AND KONTO_LIBRARIES) + set(Konto_FOUND TRUE) + message(STATUS "Found Konto: ${KONTO_LIBRARIES}") +else(KONTO_INCLUDES AND KONTO_LIBRARIES) + if(Konto_FIND_REQUIRED) + message(FATAL_ERROR "Could not find Konto library.") + endif(Konto_FIND_REQUIRED) +endif(KONTO_INCLUDES AND KONTO_LIBRARIES) |