mirror of
https://github.com/shadps4-emu/ext-SDL.git
synced 2024-11-23 18:19:40 +00:00
cmake: build Windows mediafoundation SDL_camera support
This commit is contained in:
parent
279a650fae
commit
9a44d44cee
@ -2037,6 +2037,14 @@ elseif(WINDOWS)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(SDL_CAMERA)
|
||||
if(NOT WINDOWS_STORE)
|
||||
set(HAVE_CAMERA TRUE)
|
||||
set(SDL_CAMERA_DRIVER_MEDIAFOUNDATION 1)
|
||||
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/camera/mediafoundation/*.c")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
sdl_glob_sources(SHARED "${SDL3_SOURCE_DIR}/src/core/windows/*.rc")
|
||||
if(MINGW OR CYGWIN)
|
||||
sdl_pc_link_options("-mwindows")
|
||||
|
Loading…
Reference in New Issue
Block a user