mirror of https://github.com/libsdl-org/SDL
cmake: Don't warn about lack of X11/Wayland backend on Emscripten.
This commit is contained in:
parent
89cc526a67
commit
fbed34a645
|
@ -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.")
|
||||
|
|
Loading…
Reference in New Issue