mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-22 03:51:33 +00:00
aedi: fix cmake cpu setting when cross-compiling x64 target on arm host
This commit is contained in:
parent
fe8867dba3
commit
a144e6204d
1 changed files with 1 additions and 1 deletions
|
@ -409,7 +409,7 @@ class CMakeTarget(BuildTarget):
|
||||||
architecture = state.architecture()
|
architecture = state.architecture()
|
||||||
if architecture != machine():
|
if architecture != machine():
|
||||||
args.append('-DCMAKE_SYSTEM_NAME=Darwin')
|
args.append('-DCMAKE_SYSTEM_NAME=Darwin')
|
||||||
args.append('-DCMAKE_SYSTEM_PROCESSOR=' + 'aarch64' if architecture == 'arm64' else architecture)
|
args.append('-DCMAKE_SYSTEM_PROCESSOR=' + ('aarch64' if architecture == 'arm64' else architecture))
|
||||||
|
|
||||||
sdk_path = state.sdk_path()
|
sdk_path = state.sdk_path()
|
||||||
if sdk_path:
|
if sdk_path:
|
||||||
|
|
Loading…
Reference in a new issue