--- CMakeLists.txt.orig 2015-09-28 21:27:35.073619000 +0200 +++ CMakeLists.txt 2015-09-28 21:44:28.823199000 +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)