-
-
Notifications
You must be signed in to change notification settings - Fork 473
Closed
Labels
Description
iOS build of SDL2 master with this toolchain fails with the following error if enable_language(OBJC) is used:
CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
Missing variable is:
CMAKE_OBJC_COMPILE_OBJECT
It can be worked around by removing enable_language(OBJC) on iOS and skipping check_objc_source_compiles checks (libsdl-org/SDL#5453).
I'm not sure whether this is a bug in SDL2, ios-cmake, or cmake itself.