From: Alberto Garcia Date: Wed, 21 Mar 2018 12:31:13 +0000 (+0000) Subject: Disable USE_GSTREAMER_GL is the package is not found X-Git-Tag: archive/raspbian/2.20.0-2+rpi1^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d049cbc09827f9ef5158500c258259d4e70a54c4;p=webkit2gtk.git Disable USE_GSTREAMER_GL is the package is not found =================================================================== Gbp-Pq: Name detect-gstreamer-gl.patch --- diff --git a/Source/cmake/GStreamerChecks.cmake b/Source/cmake/GStreamerChecks.cmake index 97af7d1dfa..1a0027cef5 100644 --- a/Source/cmake/GStreamerChecks.cmake +++ b/Source/cmake/GStreamerChecks.cmake @@ -43,7 +43,8 @@ if (ENABLE_VIDEO OR ENABLE_WEB_AUDIO) message(FATAL_ERROR "GStreamer 1.10 is needed for USE_GSTREAMER_GL.") else () if (NOT PC_GSTREAMER_GL_FOUND) - message(FATAL_ERROR "GStreamerGL is needed for USE_GSTREAMER_GL.") + set(USE_GSTREAMER_GL OFF) + message(STATUS "GStreamerGL is needed for USE_GSTREAMER_GL.") endif () endif () endif ()