Skip to content

Commit

Permalink
disable sdl wayland for audio only
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherHX authored Aug 16, 2024
1 parent b2c390a commit c8f628c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit c8f628c

Please sign in to comment.