cmake-rs
cmake-rs copied to clipboard
On darwin, explicitly set CMAKE_OSX_ARCHITECTURES to avoid creating fat libraries
Without explicitly CMAKE_OSX_ARCHITECTURES, when crosscompiling for x86_64 on aarch64 the libraries created are wonky and cannot be linked against.