From: Alberto Garcia Date: Sat, 9 Feb 2019 09:35:18 +0000 (+0000) Subject: Disable USE_GSTREAMER_GL is the package is not found X-Git-Tag: archive/raspbian/2.22.6-1+rpi1^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5f742707f6f78f1c77851851d77d79db2edc1d77;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 43947c6625..2442939bff 100644 --- a/Source/cmake/GStreamerChecks.cmake +++ b/Source/cmake/GStreamerChecks.cmake @@ -37,7 +37,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 ()