cmake: X11 is for Video, not Audio

main
Anonymous Maarten 2024-02-24 17:31:48 +01:00
parent 38d24778ed
commit 5593ddb6a7
1 changed files with 1 additions and 1 deletions

View File

@ -314,7 +314,7 @@ dep_option(SDL_SNDIO "Support the sndio audio API" ${UNIX_SYS} "SD
dep_option(SDL_SNDIO_SHARED "Dynamically load the sndio audio API" ON "SDL_SNDIO" OFF)
set_option(SDL_RPATH "Use an rpath when linking SDL" ${UNIX_SYS})
set_option(SDL_CLOCK_GETTIME "Use clock_gettime() instead of gettimeofday()" ${SDL_CLOCK_GETTIME_DEFAULT})
dep_option(SDL_X11 "Use X11 video driver" ${UNIX_SYS} "SDL_AUDIO" OFF)
dep_option(SDL_X11 "Use X11 video driver" ${UNIX_SYS} "SDL_VIDEO" OFF)
dep_option(SDL_X11_SHARED "Dynamically load X11 support" ON "SDL_X11" OFF)
set(SDL_X11_OPTIONS Xcursor Xdbe XInput Xfixes Xrandr Xscrnsaver XShape)
foreach(_SUB ${SDL_X11_OPTIONS})