From 466b6475caef29ddedc5fd98f4874e8a8a6a07a2 Mon Sep 17 00:00:00 2001 From: Alberto Garcia Date: Wed, 28 Aug 2019 12:33:00 +0100 Subject: [PATCH] Disable USE_GSTREAMER_GL is the package is not found =================================================================== Gbp-Pq: Name detect-gstreamer-gl.patch --- Source/cmake/GStreamerChecks.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 () -- 2.30.2