-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add libdispatch WoA detection until merged
- Loading branch information
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
https://github.com/apple/swift-corelibs-libdispatch/pull/803 | ||
--- | ||
diff --git a/cmake/modules/DispatchWindowsSupport.cmake b/cmake/modules/DispatchWindowsSupport.cmake | ||
index 87675a7..750b3be 100644 | ||
--- a/cmake/modules/DispatchWindowsSupport.cmake | ||
+++ b/cmake/modules/DispatchWindowsSupport.cmake | ||
@@ -6,7 +6,7 @@ function(dispatch_windows_arch_spelling arch var) | ||
set(${var} x64 PARENT_SCOPE) | ||
elseif(${arch} STREQUAL armv7) | ||
set(${var} arm PARENT_SCOPE) | ||
- elseif(${arch} STREQUAL aarch64) | ||
+ elseif(${arch} STREQUAL aarch64 OR ${arch} STREQUAL ARM64) | ||
set(${var} arm64 PARENT_SCOPE) | ||
else() | ||
message(FATAL_ERROR "do not know MSVC spelling for ARCH: `${arch}`") |