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

From 39c723fc9cecc6dafca5e23c57725efa87c5a933 Mon Sep 17 00:00:00 2001
From: pionere <[EMAIL REDACTED]>
Date: Wed, 12 Jan 2022 17:18:37 +0100
Subject: [PATCH] fix HAVE_SDL_VIDEO flag of CMakeLists.txt [IOS OR TVOS]

---
 CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1a6017a1f96..caae4bba075 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)