Linux SDL2 - Make SDL2 default, remove USE__SDL2 flag, add USE_SDL1 flag instead to go back to SDL1 if needed

master
Zi Ree 2022-08-09 14:48:20 +02:00
parent c9728f1208
commit 08acbbec54
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ if (USESYSTEMLIBS)
)
else (USESYSTEMLIBS)
if (LINUX)
if( NOT USE_SDL2 )
if( USE_SDL1 )
use_prebuilt_binary(SDL)
set (SDL_FOUND TRUE)

View File

@ -81,7 +81,7 @@ if (LINUX)
libfreetype.a
)
if( NOT USE_SDL2 )
if( USE_SDL1 )
list(APPEND viewer_SOURCE_FILES
llkeyboardsdl.cpp
llwindowsdl.cpp