diff options
author | wm4 <wm4@nowhere> | 2016-05-01 20:15:53 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-05-01 20:15:53 +0200 |
commit | f54e555d27ba4e2bf2209002a8f1582cd5837f33 (patch) | |
tree | 733ecfd34eac1cef82e3181a8d141ac7ca979cc1 /wscript | |
parent | 3ff3749b7df335bda0fdf5a384b10dd3bb1ef584 (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-- | wscript | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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', |