mirror of https://github.com/mpv-player/mpv
meson: remove dependency from libmpv to plain-gl
The libmpv feature should not have any impact on the built core code. Otherwise a mpv executable compiled in a build together with libmpv has different features than one from a build without. The gl feature doesn't hurt, so always enable it.
This commit is contained in:
parent
2056bf1b4e
commit
491aaacca6
|
@ -1194,8 +1194,8 @@ if features['egl-x11']
|
|||
endif
|
||||
|
||||
plain_gl = get_option('plain-gl').require(
|
||||
get_option('libmpv') and gl_allowed,
|
||||
error_message: 'libmpv was not enabled!',
|
||||
gl_allowed,
|
||||
error_message: 'gl was not enabled!',
|
||||
)
|
||||
features += {'plain-gl': plain_gl.allowed()}
|
||||
if features['plain-gl']
|
||||
|
|
Loading…
Reference in New Issue