xnest: don't force it off on Windows

No reason to explicitly force it off on Windows - if dependencies are present,
we can build it. Even though it will be rarely needed.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1534>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-05-13 11:57:45 +02:00 committed by Marge Bot
parent 4a27ff7a1a
commit 1ead670476

View File

@ -242,8 +242,7 @@ if (host_machine.system() != 'darwin' and
endif
build_xnest = false
if (host_machine.system() != 'windows')
if get_option('xnest') != 'false'
if get_option('xnest') != 'false'
xnest_required = get_option('xnest') == 'true'
xnest_dep = [
@ -259,7 +258,6 @@ if (host_machine.system() != 'windows')
build_xnest = false
endif
endforeach
endif
endif
build_xwin = false