added android support that hopefully doesn't break windows this time

This commit is contained in:
Schmarni
2023-11-08 05:04:39 +01:00
parent e3fd2df070
commit 6a340477a5
2 changed files with 4 additions and 1 deletions

View File

@@ -5,6 +5,9 @@ edition = "2021"
description = "Community crate for OpenXR in Bevy"
license = "MIT/Apache-2.0"
[target.'cfg(not(target_os="android"))'.features]
default = ["openxr/mint", "linked"]
[features]
default = ["openxr/mint"]
linked = ["openxr/linked"]

View File

@@ -29,7 +29,7 @@ target_sdk_version = 32
# label = "Bevy Example"
[dependencies]
bevy_oxr = { path = "../..", default-features = false }
bevy_oxr = { path = "../.." }
bevy = "0.12"
openxr = { git = "https://github.com/Ralith/openxrs", features = ["mint"] }