diff options
author | Rodger Combs <rodger.combs@gmail.com> | 2019-04-05 03:12:41 -0500 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2019-09-28 15:20:35 +0300 |
commit | c940d7dc8ccdc572ab2cd90ab6e69a8697a1df00 (patch) | |
tree | 06d1f66099e71001b1eeb0c4e355d9d699a2f020 | |
parent | 0c8eb80e98411db90cfdf98d6cf68a6bea0a773f (diff) | |
download | mpv-c940d7dc8ccdc572ab2cd90ab6e69a8697a1df00.tar.bz2 mpv-c940d7dc8ccdc572ab2cd90ab6e69a8697a1df00.tar.xz |
build: silence OpenGL deprecation warnings on macOS for C/objC
We know of the deprecation since 10.14, and thus we do not need to
be reminded of it with each compiled file.
-rw-r--r-- | wscript | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -608,7 +608,8 @@ video_output_features = [ 'groups': [ 'gl' ], 'func': check_statement('IOSurface/IOSurface.h', 'IOSurfaceRef surface;', - framework='IOSurface') + framework='IOSurface', + cflags=['-DGL_SILENCE_DEPRECATION']) } , { 'name': '--gl-x11', 'desc': 'OpenGL X11 Backend', |