diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2022-01-19 11:14:17 -0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2022-01-20 10:20:40 -0800 |
commit | cc161205432875c23f237d97488c9076ce64cf29 (patch) | |
tree | 1503d02326bba3d9af887609f85cc8a9b02e2cd3 /amdgpu | |
parent | 38c568775e19dd99d72d5564752ad27781a9a102 (diff) | |
download | drm-cc161205432875c23f237d97488c9076ce64cf29.tar.gz |
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 'amdgpu')
-rw-r--r-- | amdgpu/meson.build | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/amdgpu/meson.build b/amdgpu/meson.build index b2d19875..a1cca5a2 100644 --- a/amdgpu/meson.build +++ b/amdgpu/meson.build @@ -44,11 +44,9 @@ libdrm_amdgpu = library( install_headers('amdgpu.h', subdir : 'libdrm') pkg.generate( + libdrm_amdgpu, name : 'libdrm_amdgpu', - libraries : libdrm_amdgpu, subdirs : ['.', 'libdrm'], - version : meson.project_version(), - requires_private : 'libdrm', description : 'Userspace interface to kernel DRM services for amdgpu', ) |