diff --git a/CMakeLists.txt b/CMakeLists.txt index ad201f9c2..a7b709f73 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -44,7 +44,7 @@ if(SUPPORTS_X11) option(USE_X11 "Support X11 window system" ON) endif() if(SUPPORTS_WAYLAND) - option(USE_WAYLAND "Support Wayland window system" OFF) + option(USE_WAYLAND "Support Wayland window system" ON) endif() if((LINUX OR FREEBSD) OR ANDROID) option(USE_EGL "Support EGL OpenGL context creation" ON) diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index 44036ab25..370a89849 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -125,6 +125,8 @@ endif() if(USE_WAYLAND) target_compile_definitions(common PRIVATE "-DUSE_WAYLAND=1") +elseif(SUPPORTS_WAYLAND) + message(WARNING "Wayland support for renderers is disabled.\nDuckStation will FAIL to start on Wayland.") endif() if(USE_DRMKMS)