made android support completly transparent to the user, at the cost of being able to force disable openxr linking

This commit is contained in:
Schmarni
2023-11-08 07:18:22 +01:00
parent f552f889fe
commit 0f7194ab4d
3 changed files with 13 additions and 9 deletions

View File

@@ -25,16 +25,16 @@ strip = "strip"
target_sdk_version = 32
[target.'cfg(not(target_os="android"))'.dependencies.bevy_oxr]
path = "../../"
default-features = true
# [target.'cfg(not(target_os="android"))'.dependencies.bevy_oxr]
# path = "../../"
# default-features = true
# [package.metadata.android.application]
# icon = "@mipmap/ic_launcher"
# 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"] }