add cfg windows for build.rs
This commit is contained in:
parent
8df1ebbde5
commit
a9078ab763
3
build.rs
3
build.rs
@ -1,5 +1,6 @@
|
|||||||
fn main() {
|
fn main() {
|
||||||
if cfg!(windows) {
|
#[cfg(windows)]
|
||||||
|
{
|
||||||
let mut res = winres::WindowsResource::new();
|
let mut res = winres::WindowsResource::new();
|
||||||
// res.set_icon("icon.ico");
|
// res.set_icon("icon.ico");
|
||||||
// res.set_manifest(&manifest);
|
// res.set_manifest(&manifest);
|
||||||
|
Loading…
Reference in New Issue
Block a user