ext/wayland: Define libdrm_dep in meson.build
authorThomas Coldrick <othko97@gmail.com>
Wed, 14 Aug 2019 10:24:19 +0000 (11:24 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 20 Aug 2019 22:01:07 +0000 (23:01 +0100)
ext/wayland/meson.build

index fa6fbf4..3c377ee 100644 (file)
@@ -8,6 +8,8 @@ wl_sources = [
     'wllinuxdmabuf.c'
 ]
 
+libdrm_dep = dependency('libdrm', version: '>= 2.4.55', required:get_option('wayland'))
+
 if use_wayland
     protocols_datadir = wl_protocol_dep.get_pkgconfig_variable('pkgdatadir')