mirror of
https://github.com/shadps4-emu/ext-SDL.git
synced 2025-02-10 04:42:37 +00:00
cmake: Apple did not test SDL_CAMERA before adding camera support
This commit is contained in:
parent
e176626bac
commit
7b1127d1fe
@ -2081,10 +2081,12 @@ elseif(APPLE)
|
||||
|
||||
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/file/cocoa/*.m")
|
||||
|
||||
if(IOS OR TVOS OR MACOSX OR DARWIN)
|
||||
set(SDL_CAMERA_DRIVER_COREMEDIA 1)
|
||||
set(HAVE_CAMERA TRUE)
|
||||
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/camera/coremedia/*.m")
|
||||
if(SDL_CAMERA)
|
||||
if(IOS OR TVOS OR MACOSX OR DARWIN)
|
||||
set(SDL_CAMERA_DRIVER_COREMEDIA 1)
|
||||
set(HAVE_CAMERA TRUE)
|
||||
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/camera/coremedia/*.m")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(IOS OR TVOS OR VISIONOS)
|
||||
|
Loading…
x
Reference in New Issue
Block a user