Rebuild Metal glue when headers change
This commit is contained in:
1 parent
3708afb1b6
commit
7686c2248c
1 file changed
+1
-1
@@ -6,7 +6,7 @@ fn main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
let metal = Path::new("native/metal/ds4_metal.m");
|
let metal = Path::new("native/metal/ds4_metal.m");
|
||||||
println!("cargo:rerun-if-changed={}", metal.display());
|
println!("cargo:rerun-if-changed=native/metal");
|
||||||
cc::Build::new()
|
cc::Build::new()
|
||||||
.include("native/metal")
|
.include("native/metal")
|
||||||
.file(metal)
|
.file(metal)
|
||||||
|
|||||||
Reference in new issue
Block a user