fix missing AVFoundation in CMakeLists.txt

(cherry picked from commit f7a89d19c6)
This commit is contained in:
Andrei Tsurkan authored and Sam Lantinga committed 2025-03-29 08:45:26 -07:00
1 parent 4b8c38e7ba
commit 5c224a3221
1 file changed
+1
+1
View File
@@ -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()