summaryrefslogtreecommitdiff
path: root/xmake/modules/package/tools/cmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-07-08 23:01:53 +0800
committerruki <[email protected]>2024-07-08 23:01:53 +0800
commitc14fe608eff79051422ff32250f87a1e4f6cd597 (patch)
tree6904be2845d486a2104a7766addcf9866d08a9f3 /xmake/modules/package/tools/cmake.lua
parent8a9a8a2bee6db0730d6e376e0114a3430ceba063 (diff)
fix vs arch
Diffstat (limited to 'xmake/modules/package/tools/cmake.lua')
-rw-r--r--xmake/modules/package/tools/cmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/package/tools/cmake.lua b/xmake/modules/package/tools/cmake.lua
index 735d2fe48..d2fa362c6 100644
--- a/xmake/modules/package/tools/cmake.lua
+++ b/xmake/modules/package/tools/cmake.lua
@@ -102,8 +102,8 @@ function _get_vsarch(package)
local arch = package:arch()
if arch == "x86" or arch == "i386" then return "Win32" end
if arch == "x86_64" then return "x64" end
+ if arch == "arm64ec" then return "ARM64EC" end
if arch:startswith("arm64") then return "ARM64" end
- if arch:startswith("arm64ec") then return "ARM64EC" end
if arch:startswith("arm") then return "ARM" end
return arch
end