cmake: Don't warn about lack of X11/Wayland backend on Emscripten.

This commit is contained in:
Ryan C. Gordon 2024-07-30 00:33:08 -04:00
parent 89cc526a67
commit fbed34a645
No known key found for this signature in database
GPG Key ID: FA148B892AB48044
1 changed files with 1 additions and 1 deletions

View File

@ -394,7 +394,7 @@ function(SDL_PrintSummary)
message(STATUS "")
endif()
if(UNIX AND NOT (ANDROID OR APPLE))
if(UNIX AND NOT (ANDROID OR APPLE OR EMSCRIPTEN))
if(NOT (HAVE_X11 OR HAVE_WAYLAND))
message(STATUS "SDL is being built without a X11 or wayland video driver.")
message(STATUS "The library will not be able to create windows on most unix environments.")