mirror of
https://github.com/libretro/snes9x.git
synced 2024-12-02 14:26:38 +00:00
Gtk: Add wayland-client as wayland dep.
This commit is contained in:
parent
8ed8fdab86
commit
da23559f2f
@ -165,12 +165,13 @@ endif
|
||||
|
||||
wayland = get_option('wayland')
|
||||
if wayland
|
||||
wayland_client_dep = dependency('wayland-client', required: false)
|
||||
wayland_dep = dependency('wayland-egl', required: false)
|
||||
|
||||
if wayland_dep.found()
|
||||
if wayland_dep.found() and wayland_client_dep.found()
|
||||
args += '-DUSE_WAYLAND'
|
||||
srcs += ['src/gtk_wayland_egl_context.cpp', 'src/gtk_wayland_egl_context.h', 'src/wayland-idle-inhibit-unstable-v1.c']
|
||||
deps += wayland_dep
|
||||
deps += [wayland_dep, wayland_client_dep]
|
||||
else
|
||||
wayland = false
|
||||
warns += 'wayland-egl not found. Wayland will be disabled.'
|
||||
|
Loading…
Reference in New Issue
Block a user