Cleanup: remove redundant WITH_GHOST_WAYLAND check

This commit is contained in:
2022-09-27 09:07:08 +10:00
parent 8da253cfb6
commit 7fa7c7ceda

View File

@@ -727,7 +727,6 @@ if(WITH_GHOST_WAYLAND)
set(WITH_GHOST_WAYLAND OFF)
endif()
if(WITH_GHOST_WAYLAND)
if(WITH_GHOST_WAYLAND_DBUS)
pkg_check_modules(dbus REQUIRED dbus-1)
endif()
@@ -797,8 +796,6 @@ if(WITH_GHOST_WAYLAND)
unset(_wayland_scanner_out)
endif()
# End wayland-scanner version check.
endif()
endif()
if(WITH_GHOST_X11)