option to build with only wayland or x11 support

This commit is contained in:
galister
2024-02-17 19:57:26 +01:00
parent 5bbaf59790
commit f029b9324d
3 changed files with 27 additions and 4 deletions

View File

@@ -52,5 +52,7 @@ xdg = "2.5.2"
openvr = ["dep:ovr_overlay", "dep:json"]
openxr = ["dep:openxr"]
osc = ["dep:rosc"]
default = ["openvr", "openxr", "osc"]
x11 = ["wlx-capture/xshm"]
wayland = ["wlx-capture/pipewire", "wlx-capture/wlr"]
default = ["openvr", "openxr", "osc", "x11", "wayland"]