aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src
diff options
context:
space:
mode:
Diffstat (limited to 'toolsrc/src')
-rw-r--r--toolsrc/src/vcpkg/base/system.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/toolsrc/src/vcpkg/base/system.cpp b/toolsrc/src/vcpkg/base/system.cpp
index 8aa1db53c..b25412f7a 100644
--- a/toolsrc/src/vcpkg/base/system.cpp
+++ b/toolsrc/src/vcpkg/base/system.cpp
@@ -74,6 +74,10 @@ namespace vcpkg::System
return CPUArchitecture::X64;
#elif defined(__x86__) || defined(_M_X86)
return CPUArchitecture::X86;
+#elif defined(__arm__) || defined(_M_ARM)
+ return CPUArchitecture::ARM;
+#elif defined(__aarch64__) || defined(_M_ARM64)
+ return CPUArchitecture::ARM64;
#else
#error "Unknown host architecture"
#endif