add "force-crossplatform-ui" feature (no crossplatform ui yet though lol)
This commit is contained in:
parent
f62065930c
commit
b89557b450
2 changed files with 3 additions and 2 deletions
|
@ -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 }
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue