From f5a3442ba63656ec3022f82f247a3c33fc7dd82b Mon Sep 17 00:00:00 2001 From: Chris Thrasher Date: Mon, 8 Aug 2022 00:06:25 -0600 Subject: [PATCH] Remove macOS architecture checks You cannot buy anything but a 64 bit x86 or ARM Mac today so there is no need to ensure that one of these two architectures is being used. It's definitely one of the two. --- CMakeLists.txt | 7 ------- 1 file changed, 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bd8956584..7632e5276 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -229,13 +229,6 @@ if(SFML_OS_MACOSX) endif() endif() - # only the default x86_64 or arm64 are supported - foreach(arch IN LISTS CMAKE_OSX_ARCHITECTURES) - if(NOT (arch STREQUAL "x86_64" OR arch STREQUAL "arm64")) - message(FATAL_ERROR "Invalid arch ${arch}") - endif() - endforeach() - # configure Xcode templates set(XCODE_TEMPLATES_ARCH "\$(NATIVE_ARCH_ACTUAL)") endif()