|
@@ -115,10 +115,12 @@ impl CodegenContext {
|
|
}
|
|
}
|
|
|
|
|
|
#[cfg(target_os = "macos")]
|
|
#[cfg(target_os = "macos")]
|
|
- println!(
|
|
|
|
- "cargo:rerun-if-changed={}",
|
|
|
|
- config_parent.join("Info.plist").display()
|
|
|
|
- );
|
|
|
|
|
|
+ {
|
|
|
|
+ let info_plist_path = config_parent.join("Info.plist");
|
|
|
|
+ if info_plist_path.exists() {
|
|
|
|
+ println!("cargo:rerun-if-changed={}", info_plist_path.display());
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
|
|
let code = context_codegen(ContextData {
|
|
let code = context_codegen(ContextData {
|
|
dev: crate::is_dev(),
|
|
dev: crate::is_dev(),
|