meson: Fix hw/xwin for -Dglx=false

hw/xwin/meson.build:140:0: ERROR:  Unknown variable "xwin_windowsdri".
hw/xwin/meson.build:141:0: ERROR:  Unknown variable "xwin_glx".
This commit is contained in:
Jon Turney 2019-04-25 14:53:38 +01:00 committed by Adam Jackson
parent 331850ce6f
commit 93a1cdcc78
1 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,8 @@ srcs_windows = [
]
subdir('winclipboard')
xwin_glx = []
xwin_windowsdri = []
if build_glx
if build_windowsdri
xwin_c_args += '-DXWIN_WINDOWS_DRI'