From dc5ff24d843fd643d406990cdbe6cc0eecdcfb47 Mon Sep 17 00:00:00 2001 From: Alberto Garcia Date: Wed, 24 Jan 2018 11:30:06 +0000 Subject: [PATCH] Disable USE_GSTREAMER_GL is the package is not found =================================================================== Gbp-Pq: Name detect-gstreamer-gl.patch --- Source/cmake/OptionsGTK.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 () -- 2.30.2