소스 검색

fix missing AVFoundation in CMakeLists.txt

Andrei Tsurkan 3 주 전
부모
커밋
f7a89d19c6
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      CMakeLists.txt

+ 1 - 0
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()