Skip to content

Commit

Permalink
AudioToolbox for visionOS
Browse files Browse the repository at this point in the history
  • Loading branch information
eugenehp committed Jun 6, 2024
1 parent 90edab5 commit 872095d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,8 @@ fn build(sdk_path: Option<&str>, target: &str) {

#[cfg(feature = "audio_toolbox")]
{
if !target.contains("apple-visionos") {
println!("cargo:rustc-link-lib=framework=AudioToolbox");
headers.push("AudioToolbox/AudioToolbox.h");
}
println!("cargo:rustc-link-lib=framework=AudioToolbox");
headers.push("AudioToolbox/AudioToolbox.h");
}

#[cfg(feature = "core_audio")]
Expand Down

0 comments on commit 872095d

Please sign in to comment.