mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
ui: add egl-headless support on win32
Make GBM optional for EGL code, and enable the build for win32. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20230606115658.677673-13-marcandre.lureau@redhat.com>
This commit is contained in:
parent
48dddba176
commit
39324b4966
5 changed files with 55 additions and 21 deletions
|
@ -65,10 +65,10 @@ if opengl.found()
|
|||
ui_modules += {'opengl' : opengl_ss}
|
||||
endif
|
||||
|
||||
if opengl.found() and gbm.found()
|
||||
if opengl.found()
|
||||
egl_headless_ss = ss.source_set()
|
||||
egl_headless_ss.add(when: [opengl, gbm, pixman],
|
||||
if_true: files('egl-headless.c'))
|
||||
egl_headless_ss.add(when: [opengl, pixman],
|
||||
if_true: [files('egl-headless.c'), gbm])
|
||||
ui_modules += {'egl-headless' : egl_headless_ss}
|
||||
endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue