diff --git a/build.rs b/build.rs index fc15d75..bcc00ae 100644 --- a/build.rs +++ b/build.rs @@ -1,5 +1,6 @@ fn main() { - if cfg!(windows) { + #[cfg(windows)] + { let mut res = winres::WindowsResource::new(); // res.set_icon("icon.ico"); // res.set_manifest(&manifest);