You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SFML/CMakeLists.txt contains this fatal error in the MacOS section:
# only the default architecture (i.e. 64-bit) is supported
if(NOT CMAKE_OSX_ARCHITECTURES STREQUAL "x86_64")
message(FATAL_ERROR "Only 64-bit architecture is supported")
endif()
However, when bypass this check I am able to build and run native arm64 just fine on a MacBook Pro with an M1 processor.
Your environment
macOS Big Sur 11.2
Xcode 12.4
CMAKE_OSX_ARCHITECTURES = "x86_64;arm64"
Suggested Solution
Split the CMAKE_OSX_ARCHITECTURES by semicolon and make sure each item is either x86_64 or arm64. I'm not a CMake wizard but I could maybe do this within a few days.
The text was updated successfully, but these errors were encountered:
Subject of the issue
SFML/CMakeLists.txt contains this fatal error in the MacOS section:
However, when bypass this check I am able to build and run native arm64 just fine on a MacBook Pro with an M1 processor.
Your environment
macOS Big Sur 11.2
Xcode 12.4
CMAKE_OSX_ARCHITECTURES = "x86_64;arm64"
Suggested Solution
Split the CMAKE_OSX_ARCHITECTURES by semicolon and make sure each item is either x86_64 or arm64. I'm not a CMake wizard but I could maybe do this within a few days.
The text was updated successfully, but these errors were encountered: