mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-20 14:31:08 +01:00
Fix building on ios
This commit is contained in:
1 parent
b58c96e4a6
commit
86bb809c39
1 file changed
+2
-2
@@ -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]
|
||||
|
||||
Reference in new issue
Block a user