Skip to content

Commit

Permalink
Merge pull request #669 from tomaka/build-script-dependency
Browse files Browse the repository at this point in the history
Use the new build scripts dependencies system
  • Loading branch information
tomaka committed Dec 6, 2015
2 parents 48a02a0 + 29a59d7 commit 4f0aeaf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4f0aeaf

Please sign in to comment.