librashader/librashader-capi/build.rs

9 lines
284 B
Rust
Raw 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");
}
2023-04-23 15:13:31 +10:00
}