Ensure that the bundle runs on macOS versions < 11.0
This commit is contained in:
parent
76d9a40f35
commit
f2b009ea6b
3 changed files with 5 additions and 0 deletions
|
@ -56,6 +56,7 @@ fn compile_metal_shaders() {
|
||||||
"macosx",
|
"macosx",
|
||||||
"metal",
|
"metal",
|
||||||
"-gline-tables-only",
|
"-gline-tables-only",
|
||||||
|
"-mmacosx-version-min=10.14",
|
||||||
"-MO",
|
"-MO",
|
||||||
"-c",
|
"-c",
|
||||||
shader_path,
|
shader_path,
|
||||||
|
|
|
@ -49,3 +49,4 @@ unindent = "0.1.7"
|
||||||
icon = ["app-icon@2x.png", "app-icon.png"]
|
icon = ["app-icon@2x.png", "app-icon.png"]
|
||||||
identifier = "dev.zed.Zed"
|
identifier = "dev.zed.Zed"
|
||||||
name = "Zed"
|
name = "Zed"
|
||||||
|
osx_minimum_system_version = "10.14"
|
||||||
|
|
3
zed/build.rs
Normal file
3
zed/build.rs
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
fn main() {
|
||||||
|
println!("cargo:rustc-env=MACOSX_DEPLOYMENT_TARGET=10.14");
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue