chore: Move Windows dependencies to windows section (#29649)

Release Notes:

- N/A

Avoid install on macOS:

<img width="752" alt="image"
src="https://github.com/user-attachments/assets/9b13d1c5-1734-49b7-b1f0-cffbc49a3820"
/>
This commit is contained in:
Jason Lee 2025-04-30 16:24:05 +08:00 committed by GitHub
parent 074b6965e2
commit 152ea04a21
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -188,7 +188,6 @@ wayland-protocols-plasma = { version = "0.2.0", features = [
"client",
], optional = true }
# X11
as-raw-xcb-connection = { version = "1", optional = true }
x11rb = { version = "0.13.1", features = [
@ -210,7 +209,7 @@ xim = { git = "https://github.com/XDeme1/xim-rs", rev = "d50d461764c2213655cd9cf
], optional = true }
x11-clipboard = { version = "0.9.3", optional = true }
[target.'cfg(windows)'.dependencies]
[target.'cfg(target_os = "windows")'.dependencies]
blade-util.workspace = true
bytemuck = "1"
blade-graphics.workspace = true