mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
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>
(cherry picked from commit 0239b082b9)
This commit is contained in:
parent
7e2ec4606e
commit
cc34a7a4f1
1 changed files with 3 additions and 1 deletions
|
|
@ -131,7 +131,9 @@ if get_option('scanner')
|
||||||
'wayland-scanner.mk',
|
'wayland-scanner.mk',
|
||||||
'protocol/wayland.xml',
|
'protocol/wayland.xml',
|
||||||
'protocol/wayland.dtd',
|
'protocol/wayland.dtd',
|
||||||
])
|
],
|
||||||
|
install_dir: join_paths(get_option('prefix'), get_option('datadir'), 'wayland'),
|
||||||
|
)
|
||||||
|
|
||||||
install_data(
|
install_data(
|
||||||
[ 'wayland-scanner.m4' ],
|
[ 'wayland-scanner.m4' ],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue