fix missing AVFoundation in CMakeLists.txt

This commit is contained in:
Andrei Tsurkan 2025-03-29 10:52:10 +00:00 committed by Sam Lantinga
parent a23f97483f
commit f7a89d19c6
1 changed files with 1 additions and 0 deletions

View File

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