diff --git a/meson.build b/meson.build index 4febb24edccad60efee5adbe49f3b1280d04154e..cba88a1be202e86abe545cded30e6cf1f4a81392 100644 --- a/meson.build +++ b/meson.build @@ -1,6 +1,6 @@ project('wayland-protocols', version: '1.21', - meson_version: '>= 0.53.0', + meson_version: '>= 0.54.0', license: 'MIT/Expat', ) @@ -107,6 +107,14 @@ configure_file( configuration: pkgconfig_configuration, ) +wayland_protocols = declare_dependency( + variables: { + 'pkgdatadir': wayland_protocols_srcdir, + }, +) + +meson.override_dependency('wayland-protocols', wayland_protocols) + if get_option('tests') subdir('tests') endif