Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | From: Alberto Garcia <berto@igalia.com> |
| 2 | Subject: Disable USE_GSTREAMER_GL is the package is not found |
| 3 | Forwarded: no |
| 4 | Upstream-Status: Pending |
| 5 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 6 | |
| 7 | Index: webkitgtk/Source/cmake/GStreamerChecks.cmake |
| 8 | =================================================================== |
| 9 | --- webkitgtk.orig/Source/cmake/GStreamerChecks.cmake |
| 10 | +++ webkitgtk/Source/cmake/GStreamerChecks.cmake |
| 11 | @@ -43,7 +43,8 @@ if (ENABLE_VIDEO OR ENABLE_WEB_AUDIO) |
| 12 | message(FATAL_ERROR "GStreamer 1.10 is needed for USE_GSTREAMER_GL.") |
| 13 | else () |
| 14 | if (NOT PC_GSTREAMER_GL_FOUND) |
| 15 | - message(FATAL_ERROR "GStreamerGL is needed for USE_GSTREAMER_GL.") |
| 16 | + set(USE_GSTREAMER_GL OFF) |
| 17 | + message(STATUS "GStreamerGL is needed for USE_GSTREAMER_GL.") |
| 18 | endif () |
| 19 | endif () |
| 20 | endif () |