]> git.sesse.net Git - vlc/blobdiff - bindings/phonon/CMakeLists.txt
phonon: Add support to detect the pulsesupport.h header from kdesupport phonon package
[vlc] / bindings / phonon / CMakeLists.txt
index a9f61a492c73a4b1a6061f99a7ceccb024b660b8..f40f760898138c3f60ba0b2d282867672ed82977 100644 (file)
@@ -31,6 +31,9 @@ include (CheckCXXCompilerFlag)
 include (MacroEnsureVersion)
 
 find_package(Phonon REQUIRED)
+if(PHONON_PULSESUPPORT)
+  add_definitions(-DPHONON_PULSESUPPORT)
+endif(PHONON_PULSESUPPORT)
 find_package(VLC REQUIRED)
 if (NOT AUTOMOC4_VERSION)
    set(AUTOMOC4_VERSION "0.9.83")