From f54e555d27ba4e2bf2209002a8f1582cd5837f33 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 1 May 2016 20:15:53 +0200 Subject: [PATCH] wscript: make at least 1 OpenGL output mandatory You have to explicitly disable it if you really want to compile without it (like with libass). --- wscript | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/wscript b/wscript index 061b14ee61..d4f84e13b4 100644 --- a/wscript +++ b/wscript @@ -816,7 +816,11 @@ video_output_features = [ 'desc': 'OpenGL video outputs', 'deps_any': [ 'gl-cocoa', 'gl-x11', 'egl-x11', 'egl-drm', 'gl-win32', 'gl-wayland', 'rpi', 'plain-gl' ], - 'func': check_true + 'func': check_true, + 'req': True, + 'fmsg': "Unable to find OpenGL header files for video output. " + + "Aborting. If you really mean to compile without OpenGL " + + "video outputs use --disable-gl." }, { 'name': 'egl-helpers', 'desc': 'EGL helper functions',