mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-24 06:11:30 +11:00
Merge pull request #669 from tomaka/build-script-dependency
Use the new build scripts dependencies system
This commit is contained in:
commit
4f0aeafbed
2
build.rs
2
build.rs
|
@ -9,6 +9,8 @@ fn main() {
|
|||
let target = env::var("TARGET").unwrap();
|
||||
let dest = PathBuf::from(&env::var("OUT_DIR").unwrap());
|
||||
|
||||
println!("cargo:rerun-if-changed=build.rs");
|
||||
|
||||
if target.contains("windows") {
|
||||
let mut file = File::create(&dest.join("wgl_bindings.rs")).unwrap();
|
||||
gl_generator::generate_bindings(gl_generator::StaticGenerator,
|
||||
|
|
Loading…
Reference in a new issue