Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix cross-compilation on macOS x86_64 CPUs with target CPU arm64
by manually setting CMAKE_SYSTEM_PROCESSOR to the cross-compilation target whenever CMAKE_SYSTEM_PROCESSOR doesn't match CMAKE_OSX_ARCHITECTURES after project() call. This is probably a Cmake bug that happens on macOS. (facebook#12239)
- Loading branch information