SDL: fix missing AVFoundation in CMakeLists.txt

From f7a89d19c604bf718184372b8d69965f5b48954a Mon Sep 17 00:00:00 2001
From: Andrei Tsurkan <[EMAIL REDACTED]>
Date: Sat, 29 Mar 2025 10:52:10 +0000
Subject: [PATCH] fix missing AVFoundation in CMakeLists.txt

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

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4602e09996937..f77c8f75f8257 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2192,6 +2192,7 @@ elseif(APPLE)
       set(SDL_CAMERA_DRIVER_COREMEDIA 1)
       set(HAVE_CAMERA TRUE)
       sdl_glob_sources("${SDL3_SOURCE_DIR}/src/camera/coremedia/*.m")
+      set(SDL_FRAMEWORK_AVFOUNDATION 1)
     endif()
   endif()