Warning, /frameworks/kdelibs4support/cmake/modules/FindKdeMultimedia.cmake is written in an unsupported language. File is not indexed.
0001 # Module to see if we have KDE4 kdemultimedia installed 0002 # 0003 # This module defines 0004 # KDEMULTIMEDIA_INCLUDE_DIR - the include dir 0005 # KCDDB_LIBRARY - the kcddb library 0006 # KCOMPACTDISC_LIBRARY - the kcompactdisk library 0007 # KDEMULTIMEDIA_LIBRARIES - all of the KDE multimedia libraries together 0008 # KDEMULTIMEDIA_FOUND - true if the above have been found 0009 0010 # KDEMULTIMEDIA_INCLUDE_DIR 0011 # KDEMULTIMEDIA_FOUND 0012 # Copyright (C) 2007 Laurent Montel <montel@kde.org> 0013 # Copyright (C) 2007 Gerd Fleischer <gerdfleischer@web.de> 0014 # 0015 # Redistribution and use is allowed according to the terms of the BSD license. 0016 # For details see the accompanying COPYING-CMAKE-SCRIPTS file. 0017 0018 0019 if (KDEMULTIMEDIA_INCLUDE_DIR) 0020 # Already in cache, be silent 0021 set(KDEMULTIMEDIA_FOUND TRUE) 0022 endif (KDEMULTIMEDIA_INCLUDE_DIR) 0023 0024 0025 find_path(KDEMULTIMEDIA_INCLUDE_DIR NAMES libkcddb/kcddb.h libkcompactdisc/kcompactdisc.h 0026 PATHS 0027 ${INCLUDE_INSTALL_DIR} 0028 ) 0029 0030 find_library(KCDDB_LIBRARY NAMES kcddb 0031 PATHS 0032 ${LIB_INSTALL_DIR} 0033 ) 0034 0035 find_library(KCOMPACTDISC_LIBRARY NAMES kcompactdisc 0036 PATHS 0037 ${LIB_INSTALL_DIR} 0038 ) 0039 0040 # audioencoder, audiocdplugins? 0041 0042 set(KDEMULTIMEDIA_LIBRARIES ${KCDDB_LIBRARY} ${KCOMPACTDISC_LIBRARY}) 0043 0044 include(FindPackageHandleStandardArgs) 0045 find_package_handle_standard_args(KdeMultimedia DEFAULT_MSG KDEMULTIMEDIA_LIBRARIES KDEMULTIMEDIA_INCLUDE_DIR ) 0046 0047 mark_as_advanced(KDEMULTIMEDIA_INCLUDE_DIR KDEMULTIMEDIA_LIBRARIES) 0048