diff --git a/third_party/CMakeLists.txt b/third_party/CMakeLists.txt index 58c0cafc..4f111f98 100644 --- a/third_party/CMakeLists.txt +++ b/third_party/CMakeLists.txt @@ -101,6 +101,7 @@ target_link_libraries(granite-volk PRIVATE granite-volk-headers) if ((NOT ANDROID) AND (${GRANITE_PLATFORM} MATCHES "SDL")) set(SDL_SHARED OFF CACHE BOOL "" FORCE) set(SDL_STATIC ON CACHE BOOL "" FORCE) + set(SDL_TIMERS ON CACHE BOOL "" FORCE) set(SDL_TEST_LIBRARY OFF CACHE BOOL "" FORCE) set(SDL_DISABLE_INSTALL ON CACHE BOOL "" FORCE) # Disable everything we don't care about. @@ -109,7 +110,6 @@ if ((NOT ANDROID) AND (${GRANITE_PLATFORM} MATCHES "SDL")) set(SDL_RENDER OFF CACHE BOOL "" FORCE) set(SDL_HAPTIC OFF CACHE BOOL "" FORCE) set(SDL_POWER OFF CACHE BOOL "" FORCE) - set(SDL_TIMERS OFF CACHE BOOL "" FORCE) set(SDL_FILE OFF CACHE BOOL "" FORCE) set(SDL_CPUINFO OFF CACHE BOOL "" FORCE) set(SDL_FILESYSTEM OFF CACHE BOOL "" FORCE)