mirror of
https://github.com/swaywm/sway.git
synced 2024-11-29 03:11:27 +00:00
build: Add dependency on libdrm
As of 66343839b1
, sway now uses a
libdrm header. Add this dependency to the build system so headers from
it can be used on systems where pkg-config is required to find them.
This commit is contained in:
parent
95901d906a
commit
de471e67d3
|
@ -52,6 +52,8 @@ glesv2 = dependency('glesv2')
|
||||||
libevdev = dependency('libevdev')
|
libevdev = dependency('libevdev')
|
||||||
libinput = dependency('libinput', version: '>=1.6.0')
|
libinput = dependency('libinput', version: '>=1.6.0')
|
||||||
xcb = dependency('xcb', required: get_option('xwayland'))
|
xcb = dependency('xcb', required: get_option('xwayland'))
|
||||||
|
drm_full = dependency('libdrm') # only needed for drm_fourcc.h
|
||||||
|
drm = drm_full.partial_dependency(compile_args: true, includes: true)
|
||||||
bash_comp = dependency('bash-completion', required: false)
|
bash_comp = dependency('bash-completion', required: false)
|
||||||
fish_comp = dependency('fish', required: false)
|
fish_comp = dependency('fish', required: false)
|
||||||
math = cc.find_library('m')
|
math = cc.find_library('m')
|
||||||
|
|
|
@ -204,6 +204,7 @@ sway_sources = files(
|
||||||
|
|
||||||
sway_deps = [
|
sway_deps = [
|
||||||
cairo,
|
cairo,
|
||||||
|
drm,
|
||||||
jsonc,
|
jsonc,
|
||||||
libevdev,
|
libevdev,
|
||||||
libinput,
|
libinput,
|
||||||
|
|
Loading…
Reference in a new issue