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
2021-03-14 15:23:42 -07:00

14 lines
322 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::*,
);
}
}