fix missing AVFoundation in CMakeLists.txt

(cherry picked from commit f7a89d19c6)
This commit is contained in:
Andrei Tsurkan
2025-03-29 10:52:10 +00:00
committed by Sam Lantinga
parent 4b8c38e7ba
commit 5c224a3221

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()