mirror of
https://github.com/doukutsu-rs/doukutsu-rs
synced 2024-11-22 05:33:02 +00:00
fix macOS build
This commit is contained in:
parent
657b73aefc
commit
b673d5a33d
|
@ -21,7 +21,7 @@ environment:
|
|||
target: x86_64-apple-darwin
|
||||
target_name: macos
|
||||
job_name: mac-x64
|
||||
appveyor_build_worker_image: macOS
|
||||
appveyor_build_worker_image: macos-monterey
|
||||
- channel: stable
|
||||
target: x86_64-unknown-linux-gnu
|
||||
target_name: linux
|
||||
|
@ -67,7 +67,7 @@ for:
|
|||
-
|
||||
matrix:
|
||||
only:
|
||||
- appveyor_build_worker_image: macOS
|
||||
- appveyor_build_worker_image: macos-monterey
|
||||
|
||||
install:
|
||||
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -yv --default-toolchain $channel --default-host $target
|
||||
|
|
2
build.rs
2
build.rs
|
@ -20,7 +20,7 @@ fn main() {
|
|||
// }
|
||||
|
||||
if target.contains("darwin") {
|
||||
println!("cargo:rustc-env=MACOSX_DEPLOYMENT_TARGET=10.12");
|
||||
println!("cargo:rustc-env=MACOSX_DEPLOYMENT_TARGET=10.15");
|
||||
println!("cargo:rustc-link-arg=-weak_framework");
|
||||
println!("cargo:rustc-link-arg=GameController");
|
||||
println!("cargo:rustc-link-arg=-weak_framework");
|
||||
|
|
Loading…
Reference in a new issue