Skip to content

Commit fbed34a

Browse files
committed
cmake: Don't warn about lack of X11/Wayland backend on Emscripten.
1 parent 89cc526 commit fbed34a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/macros.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ function(SDL_PrintSummary)
394394
message(STATUS "")
395395
endif()
396396

397-
if(UNIX AND NOT (ANDROID OR APPLE))
397+
if(UNIX AND NOT (ANDROID OR APPLE OR EMSCRIPTEN))
398398
if(NOT (HAVE_X11 OR HAVE_WAYLAND))
399399
message(STATUS "SDL is being built without a X11 or wayland video driver.")
400400
message(STATUS "The library will not be able to create windows on most unix environments.")

0 commit comments

Comments
 (0)