From 1cb55137166e56a049983afd6874392898aa0ceb Mon Sep 17 00:00:00 2001 From: Wunkolo Date: Mon, 10 Jul 2023 12:26:28 -0700 Subject: [PATCH] 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. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4f844a61..3b840368 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)