Disable compilation of SDL tests

Speed up our compilation by about 20 files by removing the need to
compile all of SDL's test suite.
This commit is contained in:
Wunkolo 2023-07-10 12:26:28 -07:00
parent 86de7d8aa3
commit 1cb5513716

View file

@ -43,6 +43,7 @@ add_compile_definitions(SDL_MAIN_HANDLED)
set(SDL_STATIC ON CACHE BOOL "" FORCE)
set(SDL_SHARED OFF CACHE BOOL "" FORCE)
set(SDL_TEST OFF CACHE BOOL "" FORCE)
add_subdirectory(third_party/SDL2)
add_subdirectory(third_party/glad)
add_subdirectory(third_party/toml11)