diff --git a/Cargo.toml b/Cargo.toml index f7dfe4e..ea3cc4e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,10 +16,10 @@ wgpu = "0.17.1" wgpu-core = { version = "0.17.1", features = ["vulkan"] } wgpu-hal = "0.17.1" -[target.'cfg( target_os = "linux" )'.dependencies] +[target.'cfg( target_family = "unix" )'.dependencies] 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"] } [dev-dependencies]