mirror of
https://github.com/italicsjenga/ash-molten.git
synced 2024-12-23 21:31:30 +11:00
13 lines
594 B
Rust
13 lines
594 B
Rust
|
use std::path::PathBuf;
|
||
|
fn main() {
|
||
|
let project_dir = PathBuf::from(std::env::var("CARGO_MANIFEST_DIR").unwrap()).join("external");
|
||
|
println!("cargo:rustc-link-search=native={}", project_dir.display());
|
||
|
println!("cargo:rustc-link-lib=framework=Metal");
|
||
|
println!("cargo:rustc-link-lib=framework=AppKit");
|
||
|
println!("cargo:rustc-link-lib=framework=QuartzCore");
|
||
|
println!("cargo:rustc-link-lib=framework=IOKit");
|
||
|
println!("cargo:rustc-link-lib=framework=IOSurface");
|
||
|
println!("cargo:rustc-link-lib=dylib=c++");
|
||
|
println!("cargo:rustc-link-lib=static=MoltenVK");
|
||
|
}
|