Fix building on ios

This commit is contained in:
Dzmitry Malyshau 2019-08-30 09:07:21 -04:00
parent b58c96e4a6
commit 86bb809c39

View File

@ -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]