diff --git a/CMakeLists.txt b/CMakeLists.txt index b1b86dad..f2f3d9b8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -92,6 +92,9 @@ if (BUILD_CLIENT) include(game-window/BuildSettings.cmake) if (USE_SDL3_AUDIO OR GAMEWINDOW_SYSTEM STREQUAL "SDL3") + if(NOT GAMEWINDOW_SYSTEM STREQUAL "SDL3") + set(SDL_WAYLAND OFF CACHE BOOL "" FORCE) + endif() include(ext/sdl3.cmake) endif() if (GAMEWINDOW_SYSTEM STREQUAL "EGLUT")