aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoaquim Monteiro <joaquim.monteiro@protonmail.com>2024-05-31 02:57:29 +0100
committerJoaquim Monteiro <joaquim.monteiro@protonmail.com>2024-08-15 14:13:57 +0100
commit0239b082b9d312275ce1112b61d795072596ce2d (patch)
tree030110b5e6b4563f3bbaf7e11a82eb059e31fe9b
parentclient: Log the object and methods when marshalling or sending fails (diff)
downloadwayland-0239b082b9d312275ce1112b61d795072596ce2d.tar
wayland-0239b082b9d312275ce1112b61d795072596ce2d.tar.gz
wayland-0239b082b9d312275ce1112b61d795072596ce2d.tar.bz2
wayland-0239b082b9d312275ce1112b61d795072596ce2d.tar.lz
wayland-0239b082b9d312275ce1112b61d795072596ce2d.tar.xz
wayland-0239b082b9d312275ce1112b61d795072596ce2d.tar.zst
wayland-0239b082b9d312275ce1112b61d795072596ce2d.zip
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>
-rw-r--r--meson.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 409cc3c..6b05bb5 100644
--- a/meson.build
+++ b/meson.build
@@ -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' ],