mirror of
https://github.com/wez/wezterm.git
synced 2024-11-23 15:04:36 +03:00
1be3d016b1
closes: #872
15 lines
373 B
Rust
15 lines
373 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::Foundation::E_POINTER,
|
|
);
|
|
}
|
|
}
|