diff options
-rw-r--r-- | meson.build | 7 | ||||
-rw-r--r-- | src/meson.build | 4 |
2 files changed, 3 insertions, 8 deletions
diff --git a/meson.build b/meson.build index 58ff3ea9735..1b475877827 100644 --- a/meson.build +++ b/meson.build @@ -1318,13 +1318,6 @@ if with_platform_wayland 'linux-dmabuf', 'linux-dmabuf-unstable-v1.xml' ) pre_args += ['-DHAVE_WAYLAND_PLATFORM', '-DWL_HIDE_DEPRECATED'] -else - prog_wl_scanner = [] - wl_scanner_arg = '' - dep_wl_protocols = null_dep - dep_wayland_client = null_dep - dep_wayland_server = null_dep - wayland_dmabuf_xml = '' endif dep_x11 = null_dep diff --git a/src/meson.build b/src/meson.build index 2c0bff73432..0d0ecf2c530 100644 --- a/src/meson.build +++ b/src/meson.build @@ -51,7 +51,9 @@ subdir('util') subdir('mapi') # TODO: opengl subdir('compiler') -subdir('egl/wayland/wayland-drm') +if with_platform_wayland + subdir('egl/wayland/wayland-drm') +endif if with_any_vk subdir('vulkan') endif |