mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-23 07:14:01 +00:00
Fix building on ios
This commit is contained in:
parent
b58c96e4a6
commit
86bb809c39
@ -37,10 +37,10 @@ rendy-descriptor = "0.4"
|
||||
serde = { version = "1.0", features = ["serde_derive"], optional = true }
|
||||
vec_map = "0.8"
|
||||
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
[target.'cfg(all(unix, not(target_os = "ios"), not(target_os = "macos")))'.dependencies]
|
||||
gfx-backend-vulkan = { version = "0.3.0", features = ["x11"] }
|
||||
|
||||
[target.'cfg(not(unix))'.dependencies]
|
||||
[target.'cfg(any(not(unix), target_os = "ios", target_os = "macos"))'.dependencies]
|
||||
gfx-backend-vulkan = "0.3"
|
||||
|
||||
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies]
|
||||
|
Loading…
Reference in New Issue
Block a user