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.
This commit is contained in:
Chris Thrasher 2022-08-08 00:06:25 -06:00 committed by Lukas Dürrenberger
parent 9feef3708d
commit f5a3442ba6

View File

@ -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()