fix HAVE_SDL_VIDEO flag of CMakeLists.txt [IOS OR TVOS]

This commit is contained in:
pionere 2022-01-12 17:18:37 +01:00 committed by Ryan C. Gordon
parent 3dba2a73f1
commit 39c723fc9c

View File

@ -1988,6 +1988,7 @@ elseif(APPLE)
set(SDL_IPHONE_LAUNCHSCREEN 1)
file(GLOB UIKITVIDEO_SOURCES ${SDL2_SOURCE_DIR}/src/video/uikit/*.m)
set(SOURCE_FILES ${SOURCE_FILES} ${UIKITVIDEO_SOURCES})
set(HAVE_SDL_VIDEO TRUE)
else()
CheckCOCOA()
if(SDL_OPENGL)