change from target_os to target_family.

This commit is contained in:
2-3-5-41
2023-11-06 18:02:30 -05:00
parent 79ad1f7022
commit faac22acb8

View File

@@ -16,10 +16,10 @@ wgpu = "0.17.1"
wgpu-core = { version = "0.17.1", features = ["vulkan"] } wgpu-core = { version = "0.17.1", features = ["vulkan"] }
wgpu-hal = "0.17.1" wgpu-hal = "0.17.1"
[target.'cfg( target_os = "linux" )'.dependencies] [target.'cfg( target_family = "unix" )'.dependencies]
openxr = "0.17.1" openxr = "0.17.1"
[target.'cfg(not(target_os = "linux"))'.dependencies] [target.'cfg(not(target_family = "unix"))'.dependencies]
openxr = { version = "0.17.1", features = ["static"] } openxr = { version = "0.17.1", features = ["static"] }
[dev-dependencies] [dev-dependencies]