backend: make DRM and libinput backends optional

Co-authored-by: Simon Ser <contact@emersion.fr>
This commit is contained in:
ayaka 2021-03-26 23:28:37 +08:00 committed by Simon Zeni
parent 66c42f4fcb
commit 70fb21c35b
8 changed files with 69 additions and 17 deletions

View file

@ -1,6 +1,8 @@
#ifndef WLR_CONFIG_H
#define WLR_CONFIG_H
#mesondefine WLR_HAS_DRM_BACKEND
#mesondefine WLR_HAS_LIBINPUT_BACKEND
#mesondefine WLR_HAS_X11_BACKEND
#mesondefine WLR_HAS_GLES2_RENDERER