meson: Fix use of install_data() without specifying install_dir

This was broken (when in a subproject) before Meson 1.3.0, and so
Meson warns against this unless the project targets 1.3.0 or newer.

Signed-off-by: Joaquim Monteiro <joaquim.monteiro@protonmail.com>
This commit is contained in:
Joaquim Monteiro 2024-05-31 02:57:29 +01:00
parent 5b692b50b9
commit 0239b082b9
No known key found for this signature in database
GPG key ID: D22C1EE6990BF1B3

View file

@ -131,7 +131,9 @@ if get_option('scanner')
'wayland-scanner.mk',
'protocol/wayland.xml',
'protocol/wayland.dtd',
])
],
install_dir: join_paths(get_option('prefix'), get_option('datadir'), 'wayland'),
)
install_data(
[ 'wayland-scanner.m4' ],