SDL: fix missing AVFoundation in CMakeLists.txt (5c224)

From 5c224a32215e302289d6e73ab803d8aae4ec0c69 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

(cherry picked from commit f7a89d19c604bf718184372b8d69965f5b48954a)
---
 CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 96eb36804bb1e..9763f5967b11a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2188,6 +2188,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()