diff --git a/CMakeLists.txt b/CMakeLists.txt index 39adf3168..381ac9926 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1691,6 +1691,7 @@ elseif(APPLE) if(IOS OR TVOS) file(GLOB MISC_SOURCES ${SDL2_SOURCE_DIR}/src/misc/ios/*.m) + file(GLOB SDLMAIN_SOURCES ${SDL2_SOURCE_DIR}/src/main/uikit/*.c) else() file(GLOB MISC_SOURCES ${SDL2_SOURCE_DIR}/src/misc/macosx/*.m) endif()