SDL: Enable CCache if wanted

This commit is contained in:
Joshua Vandaële 2026-01-08 16:41:52 +01:00
parent fb2a46c4cf
commit ca999509e5
No known key found for this signature in database
GPG Key ID: 6BB95AF71EB0F406

View File

@ -15,6 +15,11 @@ set(SDL_CAMERA OFF)
set(SDL_DIALOG OFF)
set(SDL_TRAY OFF)
if(CCACHE_BIN)
set(SDL_CCACHE ON)
set(CCACHE_BINARY ${CCACHE_BIN})
endif()
add_subdirectory(SDL)
if (TARGET SDL3)