diff options
| author | OatmealDome <OatmealDome@users.noreply.github.com> | 2026-01-25 21:52:08 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-25 21:52:08 -0500 |
| commit | 30cc4b388e22b2c7a777d11f59d10b89d554be13 (patch) | |
| tree | 6459a7611efd997216b59a04c18161beab92c404 | |
| parent | 1b6a45df692c56e55bd39fb036cb63133a8e8fe8 (diff) | |
| parent | ca999509e584a28fcda2392a85e088f8fe1deb0b (diff) | |
Merge pull request #14264 from JoshuaVandaele/ccache-sdl
SDL: Enable CCache if wanted
| -rw-r--r-- | Externals/SDL/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Externals/SDL/CMakeLists.txt b/Externals/SDL/CMakeLists.txt index 712b9fac95..0316360241 100644 --- a/Externals/SDL/CMakeLists.txt +++ b/Externals/SDL/CMakeLists.txt @@ -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) |
