Browse Source

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.
pull/5306/head
Gleb Mazovetskiy 4 years ago
parent
commit
df492f34b3
  1. 1
      3rdParty/SDL2/CMakeLists.txt

1
3rdParty/SDL2/CMakeLists.txt vendored

@ -10,6 +10,7 @@ else()
set(SDL_SHARED ON)
set(SDL_STATIC OFF)
endif()
set(SDL_TEST OFF)
include(functions/FetchContent_MakeAvailableExcludeFromAll)
include(FetchContent)

Loading…
Cancel
Save