Merge pull request #2970 from CharlesThobe/patch-1

CMake: display warning when building without Wayland on systems that support Wayland
This commit is contained in:
Connor McLaughlin authored and GitHub committed 2023-05-04 01:00:22 +10:00
commit c6dc217762
2 files changed
+3 -1

No files matched your search

+2
View File
@@ -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)