1
1
mirror of https://github.com/wez/wezterm.git synced 2025-01-03 11:11:43 +03:00

Mark wayland-backend as optional dependency (#6342)

* Mark wayland-backend as optional dependency

Fixes #6315

09ac8c5377 introduced the `wayland-backend` dependency, but did not mark it as optional, this prevented the build from successfully completing on X11 systems without Wayland development libraries.
This commit is contained in:
Anthony M. Cook 2024-11-01 01:51:12 -05:00 committed by GitHub
parent f847bd284d
commit 0983ae90d6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,7 +15,7 @@ k9 = "0.12.0"
gl_generator = "0.14"
[features]
wayland = ["wayland-client", "smithay-client-toolkit", "wayland-egl", "wayland-protocols"]
wayland = ["wayland-client", "smithay-client-toolkit", "wayland-egl", "wayland-protocols", "wayland-backend"]
[dependencies]
async-channel = "2.3"
@ -82,7 +82,7 @@ zbus = "4.2"
zvariant = "4.0"
smithay-client-toolkit = {version = "0.19", default-features=false, optional=true}
wayland-backend = {version="0.3.5", features=["client_system", "rwh_06"]}
wayland-backend = {version="0.3.5", features=["client_system", "rwh_06"], optional=true}
wayland-protocols = {version="0.32", optional=true}
wayland-client = {version="0.31", optional=true}
wayland-egl = {version="0.32", optional=true}