From: Alberto Garcia Date: Tue, 30 Jan 2018 01:54:00 +0000 (+0000) Subject: Disable USE_GSTREAMER_GL is the package is not found X-Git-Tag: archive/raspbian/2.18.6-1_deb9u1+rpi1^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ab23931729b294394b738feaaa76a695a492368c;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/OptionsGTK.cmake b/Source/cmake/OptionsGTK.cmake index 3828e47b19..0be90fdc48 100644 --- a/Source/cmake/OptionsGTK.cmake +++ b/Source/cmake/OptionsGTK.cmake @@ -367,7 +367,8 @@ if (ENABLE_VIDEO OR ENABLE_WEB_AUDIO) message(STATUS "Disabling GSTREAMER_GL as the GStreamer version is older than 1.10.") 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 ()