1 # If you want to build KDE without any multimedia support
2 # define the cmake variable KDE4_DISABLE_MULTIMEDIA, i.e,
3 # % cmake -DKDE4_DISABLE_MULTIMEDIA=ON
7 OPTION(KDE4_DISABLE_MULTIMEDIA "Disable multimedia support (default: off)" OFF)
9 if(KDE4_DISABLE_MULTIMEDIA)
10 message(STATUS "NOTICE: Multimedia support DISABLED (KDE4_DISABLE_MULTIMEDIA == ON)")
11 else(KDE4_DISABLE_MULTIMEDIA)
12 set(PHONON_MIN_VERSION "4.2.96")
13 macro_ensure_version("${PHONON_MIN_VERSION}" "${PHONON_VERSION}" _phonon_version_ok)
14 macro_log_feature(_phonon_version_ok "Phonon" "Phonon library" "svn.kde.org/home/kde/trunk/kdesupport/phonon" TRUE "${PHONON_MIN_VERSION}")
17 ALSA_CONFIGURE_FILE(${CMAKE_CURRENT_BINARY_DIR}/config-alsa.h)
21 set(ASOUND_LIBRARY "")
24 add_subdirectory(kded-module)
25 add_subdirectory(platform_kde)
26 add_subdirectory(tests)
28 endif(KDE4_DISABLE_MULTIMEDIA)