fix HAVE_SDL_VIDEO flag of CMakeLists.txt [IOS OR TVOS]
parent
3dba2a73f1
commit
39c723fc9c
|
@ -1988,6 +1988,7 @@ elseif(APPLE)
|
||||||
set(SDL_IPHONE_LAUNCHSCREEN 1)
|
set(SDL_IPHONE_LAUNCHSCREEN 1)
|
||||||
file(GLOB UIKITVIDEO_SOURCES ${SDL2_SOURCE_DIR}/src/video/uikit/*.m)
|
file(GLOB UIKITVIDEO_SOURCES ${SDL2_SOURCE_DIR}/src/video/uikit/*.m)
|
||||||
set(SOURCE_FILES ${SOURCE_FILES} ${UIKITVIDEO_SOURCES})
|
set(SOURCE_FILES ${SOURCE_FILES} ${UIKITVIDEO_SOURCES})
|
||||||
|
set(HAVE_SDL_VIDEO TRUE)
|
||||||
else()
|
else()
|
||||||
CheckCOCOA()
|
CheckCOCOA()
|
||||||
if(SDL_OPENGL)
|
if(SDL_OPENGL)
|
||||||
|
|
Loading…
Reference in New Issue