aboutsummaryrefslogtreecommitdiffhomepage
path: root/wscript
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2016-05-01 20:15:53 +0200
committerGravatar wm4 <wm4@nowhere>2016-05-01 20:15:53 +0200
commitf54e555d27ba4e2bf2209002a8f1582cd5837f33 (patch)
tree733ecfd34eac1cef82e3181a8d141ac7ca979cc1 /wscript
parent3ff3749b7df335bda0fdf5a384b10dd3bb1ef584 (diff)
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).
Diffstat (limited to 'wscript')
-rw-r--r--wscript6
1 files changed, 5 insertions, 1 deletions
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',