diff --git a/docs/reference/gtk/meson.build b/docs/reference/gtk/meson.build index f97c545d10..3e8c50d971 100644 --- a/docs/reference/gtk/meson.build +++ b/docs/reference/gtk/meson.build @@ -452,6 +452,12 @@ else types_conf.set('DISABLE_ON_QUARTZ', '') endif +if x11_enabled + types_conf.set('ENABLE_ON_X11', '') +else + types_conf.set('ENABLE_ON_X11', '%') +endif + if get_option('documentation') configure_file(input: 'version.xml.in', output: 'version.xml', configuration: version_conf)