Warning, /frameworks/kdelibs4support/cmake/modules/FindKonto.cmake is written in an unsupported language. File is not indexed.

0001 # Once done this will define
0002 #
0003 #  KONTO_FOUND - system has the Nepomuk-KDE backbone lib Konto
0004 #  KONTO_INCLUDES - the libKonto include directory
0005 #  KONTO_LIBRARIES - Link these to use libKonto
0006 #
0007 
0008 # Copyright (c) 2008, Sebastian Trueg, <sebastian@trueg.de>
0009 #
0010 # Redistribution and use is allowed according to the terms of the BSD license.
0011 # For details see the accompanying COPYING-CMAKE-SCRIPTS file.
0012 
0013 
0014 if(KONTO_INCLUDES AND KONTO_LIBRARIES)
0015   # Already in cache, be silent
0016   set(Konto_FIND_QUIETLY TRUE)
0017 endif(KONTO_INCLUDES AND KONTO_LIBRARIES
0018 
0019 
0020 FIND_PATH(KONTO_INCLUDES 
0021   NAMES
0022   konto/class.h
0023   PATHS
0024   ${KDE4_INCLUDE_DIR}
0025   ${INCLUDE_INSTALL_DIR}
0026 )
0027 
0028 FIND_LIBRARY(KONTO_LIBRARIES 
0029   NAMES 
0030   konto
0031   PATHS
0032   ${KDE4_LIB_DIR}
0033   ${LIB_INSTALL_DIR}
0034 )
0035 
0036 include(FindPackageHandleStandardArgs)
0037 FIND_PACKAGE_HANDLE_STANDARD_ARGS(Kondo DEFAULT_MSG KONTO_INCLUDES KONTO_LIBRARIES)
0038