FosterFramework / Foster

A small C# game framework
MIT License
435 stars 38 forks source link

Building universal binary of platform lib on macOS #27

Closed luihabl closed 11 months ago

luihabl commented 11 months ago

Fixes #26. Because the GitHub runners are intel-based, the macOS binaries of the platform lib built in the Actions workflow were only compatible with x64 machines. To solve this issue, following this SO answer, a CMake option is included to build universal binaries on macOS, allowing the library to run on arm machines.

NoelFB commented 11 months ago

This seems good to me! Going to merge this in.