From bb2946f7377b9e71c15457e93f6f9a34712b77de Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sun, 29 May 2022 14:09:06 +0200 Subject: build: make GBM optional Now that the DRM backend no longer depends on GBM, we can make it optional. The GLES2 renderer still depends on it because of our EGL device selection. This is useful for compositors with their own renderers, and for compositors using the Vulkan renderer. --- include/wlr/config.h.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/wlr/config.h.in') diff --git a/include/wlr/config.h.in b/include/wlr/config.h.in index 71868a34..0b612271 100644 --- a/include/wlr/config.h.in +++ b/include/wlr/config.h.in @@ -6,9 +6,10 @@ #mesondefine WLR_HAS_X11_BACKEND #mesondefine WLR_HAS_GLES2_RENDERER - #mesondefine WLR_HAS_VULKAN_RENDERER +#mesondefine WLR_HAS_GBM_ALLOCATOR + #mesondefine WLR_HAS_XWAYLAND #endif -- cgit v1.2.3