From 82673c9f0aa76ec0597a631e0efbd14a8d44e7fb Mon Sep 17 00:00:00 2001 From: Sebastian Trueg Date: Mon, 30 Apr 2007 21:48:24 +0000 Subject: * 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 --- modules/FindKonto.cmake | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 modules/FindKonto.cmake (limited to 'modules') 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) -- cgit v1.2.1