Skip to content

Commit

Permalink
Fix CMake setting an incorrect video backend on iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
slime73 committed Oct 1, 2016
1 parent c2e2565 commit 571f4ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -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()
Expand Down

0 comments on commit 571f4ce

Please sign in to comment.