Created
July 16, 2023 21:09
-
-
Save gahfy/a60d78d3a4c6c3146bb3666d4eb22bda to your computer and use it in GitHub Desktop.
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
diff --git a/Tests/BuildDepends/Project/CMakeLists.txt b/Tests/BuildDepends/Project/CMakeLists.txt | |
--- a/Tests/BuildDepends/Project/CMakeLists.txt | |
+++ b/Tests/BuildDepends/Project/CMakeLists.txt | |
@@ -19,7 +19,7 @@ | |
if(EXISTS "${CMAKE_OSX_SYSROOT}" AND NOT "${CMAKE_GENERATOR}" MATCHES "Ninja") | |
if(CMake_TEST_XCODE_VERSION VERSION_GREATER_EQUAL 10) | |
# Arch 'i386' no longer works in Xcode 10. | |
- set(CMAKE_OSX_ARCHITECTURES x86_64) | |
+ set(CMAKE_OSX_ARCHITECTURES x86_64 arm64) | |
elseif(CMake_TEST_XCODE_VERSION VERSION_GREATER_EQUAL 4) | |
# Arch 'ppc' no longer works in Xcode 4. | |
set(CMAKE_OSX_ARCHITECTURES i386 x86_64) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment