add "force-crossplatform-ui" feature (no crossplatform ui yet though lol)

This commit is contained in:
Alex Janka 2023-11-22 12:37:32 +11:00
parent f62065930c
commit b89557b450
2 changed files with 3 additions and 2 deletions

View file

@ -21,6 +21,7 @@ vulkan = [
]
vulkan-static = ["vulkan", "gb-emu-lib/vulkan-static"]
camera = ["dep:nokhwa", "dep:send_wrapper"]
force-crossplatform-ui = []
[dependencies]
gb-emu-lib = { workspace = true }

View file

@ -1,7 +1,7 @@
#[cfg(target_os = "macos")]
#[cfg(all(target_os = "macos", not(target_feature = "force-crossplatform-ui")))]
mod macos;
fn main() {
#[cfg(target_os = "macos")]
#[cfg(all(target_os = "macos", not(target_feature = "force-crossplatform-ui")))]
cacao::appkit::App::new("com.alexjanka.cacao-test", macos::TwincUiApp::default()).run();
}