Commit 39c723fc9cecc6dafca5e23c57725efa87c5a933

pionere 2022-01-12T17:18:37

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

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1a6017a..caae4bb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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)