From: Alberto Garcia Date: Fri, 10 Jul 2020 11:26:49 +0000 (+0100) Subject: Disable USE_GSTREAMER_GL is the package is not found X-Git-Tag: archive/raspbian/2.28.3-2_deb10u1+rpi1^2^2~6 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5d5e4d339e242d5601318601d8fe26b4b44510ca;p=webkit2gtk.git Disable USE_GSTREAMER_GL is the package is not found Forwarded: no =================================================================== Gbp-Pq: Name detect-gstreamer-gl.patch --- diff --git a/Source/cmake/GStreamerChecks.cmake b/Source/cmake/GStreamerChecks.cmake index 18b12f82a8..98f1de7019 100644 --- a/Source/cmake/GStreamerChecks.cmake +++ b/Source/cmake/GStreamerChecks.cmake @@ -31,7 +31,8 @@ if (ENABLE_VIDEO OR ENABLE_WEB_AUDIO) endif () if (USE_GSTREAMER_GL AND 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 () SET_AND_EXPOSE_TO_BUILD(USE_GSTREAMER TRUE)