aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-07-13 11:47:31 +0200
committerSimon Ser <contact@emersion.fr>2023-10-12 18:29:48 +0200
commitecc7f01705192d657ab503f3d28b1ee190fc9652 (patch)
tree3830538e0e8cbbcc2be2aaa569d83e592d391d0f
parent0de3659698460e5196f6964a0975b43b8dfbf6d9 (diff)
build: rename libdrm partial dep to be more explicit
The variable is named "libdrm" but it's a partial dependency with just the headers. Reflect this in the name to avoid confusion (Meson variables are global to the whole project).
-rw-r--r--examples/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/meson.build b/examples/meson.build
index 9e01748c..e0e5720b 100644
--- a/examples/meson.build
+++ b/examples/meson.build
@@ -12,7 +12,7 @@ libavutil = dependency('libavutil', version: '>=56.14.100', required: false, dis
libavcodec = dependency('libavcodec', version: '>=58.18.100', required: false, disabler: true)
libavformat = dependency('libavformat', version: '>=58.12.100', required: false, disabler: true)
# Only needed for drm_fourcc.h
-libdrm = dependency('libdrm').partial_dependency(compile_args: true, includes: true)
+libdrm_header = dependency('libdrm').partial_dependency(compile_args: true, includes: true)
# epoll is a separate library in FreeBSD
if host_machine.system() == 'freebsd'
@@ -199,7 +199,7 @@ foreach name, info : compositors
executable(
name,
[info.get('src'), extra_src],
- dependencies: [wlroots, libdrm, info.get('dep', [])],
+ dependencies: [wlroots, libdrm_header, info.get('dep', [])],
build_by_default: get_option('examples'),
)
endforeach