Skip to content

Commit 1c32dff

Browse files
committed
try fix Windows@ARM64
1 parent 46df933 commit 1c32dff

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/a/aui/xmake.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@ package("aui")
100100
"-DAUIB_NO_PRECOMPILED=TRUE",
101101
"-DAUIB_DISABLE=ON"
102102
}
103+
if package:is_plat("windows") and package:is_arch("arm64") then
104+
table.insert(configs, "-DCMAKE_SYSTEM_PROCESSOR=aarch64")
105+
end
103106
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release"))
104107
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
105108
import("package.tools.cmake").install(package, configs)

0 commit comments

Comments
 (0)