From kde-commits Thu Dec 31 17:34:06 2015 From: Michael Pyne Date: Thu, 31 Dec 2015 17:34:06 +0000 To: kde-commits Subject: [phonon-gstreamer] cmake: Fix build on Gentoo with recent GStreamer 1.0. Message-Id: X-MARC-Message: https://marc.info/?l=kde-commits&m=145158325807787 Git commit e04802d7ce5b51575fcf8ad4dd18177fe079f7aa by Michael Pyne. Committed on 31/12/2015 at 17:32. Pushed by mpyne into branch 'master'. Fix build on Gentoo with recent GStreamer 1.0. Partially fixed by RR 125690, this also fixes for Gentoo in my testing, and should for other distros where gstreamer places its gst-config under gstreamer-1.0/include. REVIEW:126554 M +1 -1 cmake/FindGStreamer.cmake http://commits.kde.org/phonon-gstreamer/e04802d7ce5b51575fcf8ad4dd18177fe07= 9f7aa diff --git a/cmake/FindGStreamer.cmake b/cmake/FindGStreamer.cmake index e30c349..1375b30 100644 --- a/cmake/FindGStreamer.cmake +++ b/cmake/FindGStreamer.cmake @@ -44,7 +44,7 @@ ENDIF (NOT GSTREAMER_INCLUDE_DIR) FIND_PATH(GSTREAMER_CONF_INCLUDE_DIR gst/gstconfig.h PATHS ${PKG_GSTREAMER_INCLUDE_DIRS} - PATH_SUFFIXES gstreamer-1.0 + PATH_SUFFIXES gstreamer-1.0 gstreamer-1.0/include ) = IF (NOT GSTREAMER_CONF_INCLUDE_DIR)