burn/burn-ndarray/build.rs

7 lines
185 B
Rust

fn main() {
// https://github.com/rust-ndarray/ndarray/issues/1197
if cfg!(feature = "blas-accelerate") {
println!("cargo:rustc-link-lib=framework=Accelerate");
}
}