From 571f4ce8a6908f6777bb0fcfdf7b5f95303753a7 Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Sat, 1 Oct 2016 17:05:29 -0300 Subject: [PATCH] Fix CMake setting an incorrect video backend on iOS --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 38edd7062..1e940ec79 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1318,7 +1318,7 @@ elseif(APPLE) # iOS hack needed - http://code.google.com/p/ios-cmake/ ? if(SDL_VIDEO) if (IOS) - set(SDL_VIDEO_DRIVER_HAIKU 1) + set(SDL_VIDEO_DRIVER_UIKIT 1) file(GLOB UIKITVIDEO_SOURCES ${SDL2_SOURCE_DIR}/src/video/uikit/*.m) set(SOURCE_FILES ${SOURCE_FILES} ${UIKITVIDEO_SOURCES}) else()