Skip to content

Commit

Permalink
bring CoreMIDI back to visionos
Browse files Browse the repository at this point in the history
  • Loading branch information
eugenehp committed Jun 6, 2024
1 parent 282ceba commit 34434c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ fn build(sdk_path: Option<&str>, target: &str) {

#[cfg(all(feature = "core_midi"))]
{
if target.contains("apple-darwin") && !target.contains("visionos") {
if target.contains("apple-darwin") {
println!("cargo:rustc-link-lib=framework=CoreMIDI");
headers.push("CoreMIDI/CoreMIDI.h");
}
Expand Down

0 comments on commit 34434c4

Please sign in to comment.