Add prim video support

This commit is contained in:
Daniel Santos
2022-06-24 15:48:50 -03:00
committed by Sam Lantinga
parent 46f95a7a5f
commit a81aa99298
3 changed files with 157 additions and 3 deletions

View File

@@ -3040,6 +3040,10 @@ if(APPLE)
target_compile_options(sdl-build-options INTERFACE "-fobjc-arc")
endif()
if(PS2)
target_compile_options(sdl-build-options INTERFACE "-Wno-error=declaration-after-statement")
endif()
if(SDL_SHARED)
add_library(SDL2 SHARED ${SOURCE_FILES} ${VERSION_SOURCES})
add_dependencies(SDL2 sdl_headers_copy)