Skip to content

Commit 3a8f9e1

Browse files
hmeldertriplef
authored andcommitted
Add libdispatch WoA detection until merged
swiftlang/swift-corelibs-libdispatch#803
1 parent e49c0a4 commit 3a8f9e1

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
https://github.com/apple/swift-corelibs-libdispatch/pull/803
2+
---
3+
diff --git a/cmake/modules/DispatchWindowsSupport.cmake b/cmake/modules/DispatchWindowsSupport.cmake
4+
index 87675a7..750b3be 100644
5+
--- a/cmake/modules/DispatchWindowsSupport.cmake
6+
+++ b/cmake/modules/DispatchWindowsSupport.cmake
7+
@@ -6,7 +6,7 @@ function(dispatch_windows_arch_spelling arch var)
8+
set(${var} x64 PARENT_SCOPE)
9+
elseif(${arch} STREQUAL armv7)
10+
set(${var} arm PARENT_SCOPE)
11+
- elseif(${arch} STREQUAL aarch64)
12+
+ elseif(${arch} STREQUAL aarch64 OR ${arch} STREQUAL ARM64)
13+
set(${var} arm64 PARENT_SCOPE)
14+
else()
15+
message(FATAL_ERROR "do not know MSVC spelling for ARCH: `${arch}`")

0 commit comments

Comments
 (0)