--- CMakeLists.txt.orig 2015-09-28 22:29:01.280860000 +0200 +++ CMakeLists.txt 2015-09-28 22:29:20.710032000 +0200 @@ -50,6 +50,7 @@ macro_log_feature(LIBXML2_FOUND "LibXml2" "LibXml2 is required to compile the gstreamer backend for Phonon" "http://xmlsoft.org/downloads.html" TRUE) +add_definitions(${GSTREAMER_DEFINITIONS}) add_subdirectory(gstreamer)