mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 12:55:58 +01:00
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).
This commit is contained in:
parent
0de3659698
commit
ecc7f01705
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
libavcodec = dependency('libavcodec', version: '>=58.18.100', required: false, disabler: true)
|
||||||
libavformat = dependency('libavformat', version: '>=58.12.100', required: false, disabler: true)
|
libavformat = dependency('libavformat', version: '>=58.12.100', required: false, disabler: true)
|
||||||
# Only needed for drm_fourcc.h
|
# 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
|
# epoll is a separate library in FreeBSD
|
||||||
if host_machine.system() == 'freebsd'
|
if host_machine.system() == 'freebsd'
|
||||||
|
@ -199,7 +199,7 @@ foreach name, info : compositors
|
||||||
executable(
|
executable(
|
||||||
name,
|
name,
|
||||||
[info.get('src'), extra_src],
|
[info.get('src'), extra_src],
|
||||||
dependencies: [wlroots, libdrm, info.get('dep', [])],
|
dependencies: [wlroots, libdrm_header, info.get('dep', [])],
|
||||||
build_by_default: get_option('examples'),
|
build_by_default: get_option('examples'),
|
||||||
)
|
)
|
||||||
endforeach
|
endforeach
|
||||||
|
|
Loading…
Reference in a new issue