Use SDL2 by default

Except on Android and macOS, for now
This commit is contained in:
Vitaliy
2023-12-17 20:46:08 +03:00
committed by GitHub
parent 854e97f57c
commit 9a439a3646
3 changed files with 15 additions and 7 deletions

View File

@ -1,5 +1,9 @@
if(NOT ANDROID AND NOT APPLE)
set(DEFAULT_SDL2 ON)
endif()
option(BUILD_SHARED_LIBS "Build shared library" TRUE)
option(USE_SDL2 "Use the SDL2 backend" FALSE)
option(USE_SDL2 "Use the SDL2 backend" ${DEFAULT_SDL2})
# Compiler flags