Skip to content

Commit

Permalink
Mark wayland-backend as optional dependency
Browse files Browse the repository at this point in the history
Fixes #6315

09ac8c5 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.
  • Loading branch information
acook authored Oct 31, 2024
1 parent f847bd2 commit 5c14e2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion window/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 5c14e2b

Please sign in to comment.