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:
parent
9feef3708d
commit
f5a3442ba6
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user