From b33713f3108602d574c4aa6980f7bad440eb8d7f Mon Sep 17 00:00:00 2001 From: Alberto Garcia Date: Tue, 12 Nov 2019 12:15:29 +0000 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 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) -- 2.30.2