summaryrefslogtreecommitdiff
path: root/tegra
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2022-01-19 11:14:17 -0800
committerDylan Baker <dylan@pnwbakers.com>2022-01-20 10:20:40 -0800
commitcc161205432875c23f237d97488c9076ce64cf29 (patch)
tree1503d02326bba3d9af887609f85cc8a9b02e2cd3 /tegra
parent38c568775e19dd99d72d5564752ad27781a9a102 (diff)
meson: use the modern interface for pkg.generate
This produces no differences in the generated output. I've had to manually add `requires : 'libdrm'` to libdrm_intel, otherwise libdrm ends up in `Requires.private` instead of `Requires`. Signed-off-by: Dylan Baker <dylan@pnwbakers.com> Reviewed-by: Simon Ser <contact@emersion.fr>
Diffstat (limited to 'tegra')
-rw-r--r--tegra/meson.build4
1 files changed, 1 insertions, 3 deletions
diff --git a/tegra/meson.build b/tegra/meson.build
index 281c8944..7585c8b5 100644
--- a/tegra/meson.build
+++ b/tegra/meson.build
@@ -42,11 +42,9 @@ endif
install_headers('tegra.h', subdir : 'libdrm')
pkg.generate(
+ libdrm_tegra,
name : 'libdrm_tegra',
- libraries : libdrm_tegra,
subdirs : ['.', 'libdrm'],
- version : meson.project_version(),
- requires_private : 'libdrm',
description : 'Userspace interface to Tegra kernel DRM services',
)