CMake: display warning when building without Wayland on systems that support Wayland
This commit is contained in:
committed by
CharlesThobe
parent
4cbb6e2247
commit
4ea57daf39
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user