1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-25 22:33:52 +03:00
wezterm/wezterm-toast-notification/build.rs
Wez Furlong d64b785290 deps: update windows dep to 0.4 -> 0.9
dependabot keeps trying and failing because lots of things changed.
Let's try and get ahead of it...
2021-05-03 22:05:35 -07:00

15 lines
377 B
Rust

fn main() {
if cfg!(target_os = "macos") {
println!("cargo:rustc-link-lib=framework=UserNotifications");
}
#[cfg(windows)]
{
windows::build!(
Windows::Data::Xml::Dom::XmlDocument,
Windows::Foundation::*,
Windows::UI::Notifications::*,
Windows::Win32::SystemServices::E_POINTER,
);
}
}