From 2236a8ccacdfed5ff5f6873ed6618eccf570193d Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Wed, 10 Nov 2021 12:54:58 +0200 Subject: fix use of libdrm_omap We never defined HAS_LIBDRM_OMAP, so the support was not fully compiled in. Signed-off-by: Tomi Valkeinen --- meson.build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meson.build b/meson.build index 3de7b6a..ce73f4c 100644 --- a/meson.build +++ b/meson.build @@ -36,6 +36,10 @@ libfmt_dep = dependency('fmt') libdrmomap_dep = dependency('libdrm_omap', required : get_option('omap')) +if libdrmomap_dep.found() + add_global_arguments('-DHAS_LIBDRM_OMAP', language : 'cpp') +endif + subdir('kms++') if get_option('v4l2').enabled() -- cgit v1.2.3