Warning, /libraries/phonon/demos/cmake/FindPhonon.cmake is written in an unsupported language. File is not indexed.
0001 # Find libphonon 0002 # Once done this will define 0003 # 0004 # PHONON_FOUND - system has Phonon Library 0005 # PHONON_INCLUDE_DIR - the Phonon include directory 0006 # PHONON_LIBRARY - link these to use Phonon 0007 # PHONON_VERSION - the version of the Phonon Library 0008 0009 # Copyright (c) 2010, Harald Sitter <sitter@kde.org> 0010 # Copyright (c) 2008, Matthias Kretz <kretz@kde.org> 0011 # 0012 # Redistribution and use is allowed according to the terms of the BSD license. 0013 # For details see the accompanying COPYING-CMAKE-SCRIPTS file. 0014 0015 if(PHONON_INCLUDE_DIR AND PHONON_LIBRARY) 0016 set(PHONON_FIND_QUIETLY TRUE) 0017 0018 # include(FindPackageHandleStandardArgs) 0019 # find_package_handle_standard_args(Phonon DEFAULT_MSG PHONON_INCLUDE_DIR PHONON_LIBRARY) 0020 0021 # mark_as_advanced(PHONON_INCLUDE_DIR PHONON_LIBRARY) 0022 0023 else() 0024 find_package(Phonon NO_MODULE) 0025 if(PHONON_FOUND) 0026 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PHONON_BUILDSYSTEM_DIR}) 0027 endif() 0028 0029 include(FindPackageHandleStandardArgs) 0030 0031 find_package_handle_standard_args(Phonon DEFAULT_MSG Phonon_DIR ) 0032 endif(PHONON_INCLUDE_DIR AND PHONON_LIBRARY)