diff --git a/CMakeLists.txt b/CMakeLists.txt index 4602e09996..f77c8f75f8 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()