mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-20 21:28:23 -05:00
b6c60f14b6
Detect `arm64` hardware using a method that pierces Rosetta. If `CMAKE_OSX_ARCHITECTURES` is not set, pass explicit flags to the toolchain to use `arm64` instead of letting the toolchain pick. Fixes: #20989