summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meson.build4
1 files changed, 4 insertions, 0 deletions
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()