diff --git a/gdk/gdkconfig.h.meson b/gdk/gdkconfig.h.meson index 867b430e43..d5b48f3184 100644 --- a/gdk/gdkconfig.h.meson +++ b/gdk/gdkconfig.h.meson @@ -16,6 +16,8 @@ G_BEGIN_DECLS #mesondefine GDK_WINDOWING_WAYLAND #mesondefine GDK_WINDOWING_WIN32 +#mesondefine GDK_RENDERING_CAIRO +#mesondefine GDK_RENDERING_GL #mesondefine GDK_RENDERING_VULKAN G_END_DECLS diff --git a/gdk/meson.build b/gdk/meson.build index 6c1deecc04..c690ef821e 100644 --- a/gdk/meson.build +++ b/gdk/meson.build @@ -161,6 +161,8 @@ gdkconfig_cdata.set('GDK_WINDOWING_WAYLAND', wayland_enabled) gdkconfig_cdata.set('GDK_WINDOWING_WIN32', win32_enabled) gdkconfig_cdata.set('GDK_WINDOWING_BROADWAY', broadway_enabled) gdkconfig_cdata.set('GDK_WINDOWING_MACOS', macos_enabled) +gdkconfig_cdata.set('GDK_RENDERING_CAIRO', true) +gdkconfig_cdata.set('GDK_RENDERING_GL', true) gdkconfig_cdata.set('GDK_RENDERING_VULKAN', have_vulkan) gdkconfig = configure_file(