diff options
author | Pierre Krieger <pierre.krieger1708@gmail.com> | 2015-12-05 20:13:46 +0100 |
---|---|---|
committer | Pierre Krieger <pierre.krieger1708@gmail.com> | 2015-12-05 20:13:46 +0100 |
commit | 29a59d799945d3f97b91ad3df84925c788bd7852 (patch) | |
tree | 5514973083be100084ed7c66684fd17e8a01722c | |
parent | 8c3ffd2a4fe2dbb0033c1f830d384c0c2d8c88a1 (diff) | |
download | glutin-29a59d799945d3f97b91ad3df84925c788bd7852.tar.gz glutin-29a59d799945d3f97b91ad3df84925c788bd7852.zip |
Use the new build scripts dependencies system
-rw-r--r-- | build.rs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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, |