Skip to content

Commit b76cff2

Browse files
Update conditional custom options for macOS aarch64 architecture
- aarch64 -> macOS: 11.0 (first macOS version for aarch64) - intel -> macOS: 10.14 (dark theme is supported since macOS 10.14) the aarch64 linker give warning that the minimum version should be 11.0
1 parent 805b123 commit b76cff2

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

source/project/tracker_editor/trackereditor.lpi

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,14 @@
7474
</SearchPaths>
7575
<Conditionals Value="If TargetOS = &apos;darwin&apos; then
7676
begin
77-
CustomOptions += &apos;-WM10.14&apos;;
77+
If TargetCPU = &apos;aarch64&apos; then
78+
begin
79+
CustomOptions += &apos;-WM11.0&apos;;
80+
end
81+
else
82+
begin
83+
CustomOptions += &apos;-WM10.14&apos;;
84+
end;
7885
end;"/>
7986
<CodeGeneration>
8087
<SmartLinkUnit Value="True"/>

0 commit comments

Comments
 (0)