make xwayland optional

This commit is contained in:
armtux 2018-06-06 14:47:04 -04:00
parent b1e72461cf
commit e8b9c5208e
16 changed files with 75 additions and 2 deletions

View file

@ -47,6 +47,10 @@ git = find_program('git', required: false)
conf_data = configuration_data()
if get_option('enable-xwayland')
conf_data.set('HAVE_XWAYLAND', true)
endif
if gdk_pixbuf.found()
conf_data.set('HAVE_GDK_PIXBUF', true)
endif