[client] ds: re-order as SDL is now the fallback

This commit is contained in:
Geoffrey McRae 2021-01-27 10:39:42 +11:00
parent ca5c3938e4
commit 6f4a116942

View file

@ -18,9 +18,6 @@ function(add_displayserver name)
add_subdirectory(${name})
endfunction()
# SDL must be first as it's the default implementation!
add_displayserver(SDL)
# Add/remove displayservers here!
if (ENABLE_X11)
add_displayserver(X11)
@ -30,6 +27,9 @@ if (ENABLE_WAYLAND)
add_displayserver(Wayland)
endif()
# SDL must be last as it's the fallback implemntation
add_displayserver(SDL)
list(REMOVE_AT DISPLAYSERVERS 0)
list(REMOVE_AT DISPLAYSERVERS_LINK 0)