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

0001 # Once done this will define
0002 #
0003 #  KNEPOMUK_FOUND - system has the Nepomuk-KDE backbone lib KNep
0004 #  KNEPOMUK_INCLUDES - the libKNep include directory
0005 #  KNEPOMUK_LIBRARIES - Link these to use libKNep
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(KNEPOMUK_INCLUDES AND KNEPOMUK_LIBRARIES)
0015         set(KNepomuk_FIND_QUIETLY TRUE)
0016 endif(KNEPOMUK_INCLUDES AND KNEPOMUK_LIBRARIES)
0017 
0018 FIND_PATH(KNEPOMUK_INCLUDES 
0019   NAMES
0020   knepomuk/knepomuk.h
0021   PATHS
0022   ${KDE4_INCLUDE_DIR}
0023   ${INCLUDE_INSTALL_DIR}
0024 )
0025 
0026 FIND_LIBRARY(KNEPOMUK_LIBRARIES 
0027   NAMES 
0028   knepomuk
0029   PATHS
0030   ${KDE4_LIB_DIR}
0031   ${LIB_INSTALL_DIR}
0032 )
0033 
0034 include(FindPackageHandleStandardArgs)
0035 FIND_PACKAGE_HANDLE_STANDARD_ARGS(KNepomuk DEFAULT_MSG KNEPOMUK_INCLUDES KNEPOMUK_LIBRARIES )
0036 
0037 
0038 MARK_AS_ADVANCED(KNEPOMUK_INCLUDES KNEPOMUK_LIBRARIES)
0039