CMakeLists: explicitly disable DX support in SDL.

This commit is contained in:
Guillaume Jacquemin 2022-04-13 11:58:01 +02:00
parent 918ead0733
commit 1bbbf3cbfd

View file

@ -31,6 +31,7 @@ set(WITH_TESTSUITE OFF CACHE BOOL "" FORCE)
set(WITH_MAIN ON CACHE BOOL "" FORCE)
add_subdirectory(third-party/corrade EXCLUDE_FROM_ALL)
set(DIRECTX OFF CACHE BOOL "" FORCE) # We use OpenGL.
set(SDL_ATOMIC OFF CACHE BOOL "" FORCE)
set(SDL_CPUINFO OFF CACHE BOOL "" FORCE)
set(SDL_EVENTS ON CACHE BOOL "" FORCE)