1
0
mirror of https://github.com/ndarilek/tts-rs.git synced 2024-11-17 06:09:37 +00:00

Fix cargo fmt CI failure.

This commit is contained in:
Nolan Darilek 2020-11-17 16:36:33 -06:00
parent f3705a1856
commit 80d51e1bff

View File

@ -1,7 +1,10 @@
fn main() {
if std::env::var("TARGET").unwrap().contains("-apple") {
println!("cargo:rustc-link-lib=framework=AVFoundation");
if !std::env::var("CARGO_CFG_TARGET_OS").unwrap().contains("ios") {
if !std::env::var("CARGO_CFG_TARGET_OS")
.unwrap()
.contains("ios")
{
println!("cargo:rustc-link-lib=framework=AppKit");
}
}