mirror of
https://github.com/libsdl-org/SDL.git
synced 2024-11-23 10:53:27 +08:00
fix HAVE_SDL_VIDEO flag of CMakeLists.txt [IOS OR TVOS]
This commit is contained in:
parent
3dba2a73f1
commit
39c723fc9c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user