librashader/librashader-capi/build.rs

8 lines
283 B
Rust
Raw Permalink Normal View History

pub fn main() {
#[cfg(all(target_os = "windows", feature = "runtime-d3d12"))]
{
println!("cargo:rustc-link-lib=dylib=delayimp");
println!("cargo:rustc-link-arg=/DELAYLOAD:dxcompiler.dll");
println!("cargo:rustc-link-arg=/DELAYLOAD:d3d12.dll");
}
}