diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2021-02-23 11:47:38 -0700 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2021-02-23 11:47:38 -0700 |
| commit | 81f5f07de214e7229acfee43b73cb97e91047e89 (patch) | |
| tree | e3a971013e457df16f72eb616c3130f3bb99d5f4 /meson.build | |
| parent | 2a05bd2b701497b1ed3713692bcf7cea9a6636f0 (diff) | |
build: Add dependency on libdrm
As of 3fb3b7e5d1c5004598f32419ddf608b861421da0, 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.
Diffstat (limited to 'meson.build')
| -rw-r--r-- | meson.build | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 9177ca33..19cb5130 100644 --- a/meson.build +++ b/meson.build @@ -52,6 +52,8 @@ glesv2 = dependency('glesv2') libevdev = dependency('libevdev') libinput = dependency('libinput', version: '>=1.6.0') 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) fish_comp = dependency('fish', required: false) math = cc.find_library('m') |
