wgpu_compute_shader/build.rs
Julius Koskela e1e9b8dd18
🚀 Initial wgpu matrix multiplication test, fails to build on Linux
Signed-off-by: Julius Koskela <julius.koskela@unikie.com>
2023-12-21 21:00:20 +02:00

10 lines
306 B
Rust

fn main() {
if cfg!(target_os = "linux") {
// println!("cargo:rustc-link-lib=X11");
// println!("cargo:rustc-link-lib=Xcursor");
// println!("cargo:rustc-link-lib=Xrandr");
// println!("cargo:rustc-link-lib=Xi");
println!("cargo:rustc-link-lib=vulkan");
}
}