aboutsummaryrefslogtreecommitdiff
path: root/ui/meson.build
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2021-01-07 13:46:32 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2021-01-12 12:38:03 +0100
commit5cb69566daa8081abb82a13403dcc0fffed02007 (patch)
tree44bb313d72866bf5a7663501f94fc4616bfbc5e1 /ui/meson.build
parenta23a6789c0a1187bfb2e117c9cdfb92f6fa357f0 (diff)
downloadqemu-5cb69566daa8081abb82a13403dcc0fffed02007.zip
qemu-5cb69566daa8081abb82a13403dcc0fffed02007.tar.gz
qemu-5cb69566daa8081abb82a13403dcc0fffed02007.tar.bz2
gtk: remove CONFIG_GTK_GL
CONFIG_GTK_GL is defined if OpenGL is present and GTK+ is 3.16 or newer. Since GTK+ 3.22 is the minimum supported version, just use CONFIG_OPENGL instead. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'ui/meson.build')
-rw-r--r--ui/meson.build3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/meson.build b/ui/meson.build
index e6655c9..bd2b920 100644
--- a/ui/meson.build
+++ b/ui/meson.build
@@ -63,8 +63,7 @@ if config_host.has_key('CONFIG_GTK')
gtk_ss = ss.source_set()
gtk_ss.add(gtk, vte, pixman, files('gtk.c'))
gtk_ss.add(when: [x11, 'CONFIG_X11'], if_true: files('x_keymap.c'))
- gtk_ss.add(when: [opengl, 'CONFIG_OPENGL'], if_true: files('gtk-egl.c'))
- gtk_ss.add(when: [opengl, 'CONFIG_GTK_GL'], if_true: files('gtk-gl-area.c'))
+ gtk_ss.add(when: [opengl, 'CONFIG_OPENGL'], if_true: files('gtk-egl.c', 'gtk-gl-area.c'))
ui_modules += {'gtk' : gtk_ss}
endif