From df492f34b309056fedd4dfff4da00f1aa513c4c7 Mon Sep 17 00:00:00 2001 From: Gleb Mazovetskiy Date: Mon, 29 Aug 2022 21:45:49 +0900 Subject: [PATCH] 3rdParty/SDL2: Disable SDL_TEST The fully-vendored source distribution removes all test files to reduce the size, which causes a CMake configuration error if `SDL_TEST` is on. --- 3rdParty/SDL2/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/3rdParty/SDL2/CMakeLists.txt b/3rdParty/SDL2/CMakeLists.txt index 65962ce08..63d307570 100644 --- a/3rdParty/SDL2/CMakeLists.txt +++ b/3rdParty/SDL2/CMakeLists.txt @@ -10,6 +10,7 @@ else() set(SDL_SHARED ON) set(SDL_STATIC OFF) endif() +set(SDL_TEST OFF) include(functions/FetchContent_MakeAvailableExcludeFromAll) include(FetchContent)