From 6a340477a51e8f9268578215fc7475b1d178a07d Mon Sep 17 00:00:00 2001 From: Schmarni Date: Wed, 8 Nov 2023 05:04:39 +0100 Subject: [PATCH] added android support that hopefully doesn't break windows this time --- Cargo.toml | 3 +++ examples/android/Cargo.toml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 7b7bd41..bce1681 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"] diff --git a/examples/android/Cargo.toml b/examples/android/Cargo.toml index d084c7e..22332c9 100644 --- a/examples/android/Cargo.toml +++ b/examples/android/Cargo.toml @@ -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"] }