139 Provides a patch for the toolchain to better align with the updated CMake handling of enable_language() directives. I'll look into either adding support via a switch, or migrating this into the toolchain in a way that does not compromise backwards compatibility.
iOS build of SDL2 master with this toolchain fails with the following error if
enable_language(OBJC)
is used:It can be worked around by removing
enable_language(OBJC)
on iOS and skippingcheck_objc_source_compiles
checks (https://github.com/libsdl-org/SDL/pull/5453).I'm not sure whether this is a bug in SDL2, ios-cmake, or cmake itself.