This commit is contained in:
Antonio Scandurra 2022-08-29 18:00:51 +02:00
parent 7918bf39f5
commit 45519cdd27
7 changed files with 94 additions and 7 deletions

View file

@ -1,3 +1,10 @@
fn main() {
println!("cargo:rustc-link-lib=framework=ScreenCaptureKit");
println!("cargo:rustc-link-lib=framework=CoreMedia");
println!("cargo:rustc-env=MACOSX_DEPLOYMENT_TARGET=12.3");
cc::Build::new()
.file("src/dummy.m")
.define("MACOSX_DEPLOYMENT_TARGET", "12.3")
.compile("dummy");
}