Skip to content

Commit d8d6f3f

Browse files
committed
fixup
1 parent 1c32dff commit d8d6f3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/a/aui/xmake.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ package("aui")
101101
"-DAUIB_DISABLE=ON"
102102
}
103103
if package:is_plat("windows") and package:is_arch("arm64") then
104-
table.insert(configs, "-DCMAKE_SYSTEM_PROCESSOR=aarch64")
104+
io.replace("cmake/aui.build.cmake", [[if (CMAKE_GENERATOR_PLATFORM MATCHES "(arm64)|(ARM64)" OR CMAKE_SYSTEM_PROCESSOR MATCHES "(aarch64|arm64)")]], [[if (1)]], {plain = true})
105105
end
106106
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release"))
107107
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))

0 commit comments

Comments
 (0)