Jon Turney <jon.tur...@dronecode.org.uk> writes: > Signed-off-by: Jon Turney <jon.tur...@dronecode.org.uk> > --- > meson.build | 11 ++++++++++- > meson_options.txt | 3 +++ > 2 files changed, 13 insertions(+), 1 deletion(-) > > diff --git a/meson.build b/meson.build > index c7c9c79c3..5f30b996c 100644 > --- a/meson.build > +++ b/meson.build > @@ -251,6 +251,16 @@ if libdrm_dep.found() > build_modesetting = dependency('libdrm', version: '>= 2.4.46', required: > false).found() > endif > > +build_xv = false > +if get_option('xv') == 'auto' > + if (host_machine.system() != 'windows' and > + host_machine.system() != 'cygwin') > + build_xv = true > + endif > +else > + build_xv = get_option('xv') == 'yes' > +endif
Optional XV seems a bit silly to me. Could we just do something like: build_xv = build_xorg || build_dmx || build_ephyr?
signature.asc
Description: PGP signature
_______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel