summaryrefslogtreecommitdiff
path: root/cogl/cogl/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'cogl/cogl/meson.build')
-rw-r--r--cogl/cogl/meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/cogl/cogl/meson.build b/cogl/cogl/meson.build
index a89f6448e..65bcdb119 100644
--- a/cogl/cogl/meson.build
+++ b/cogl/cogl/meson.build
@@ -12,6 +12,9 @@ cdata.set('COGL_HAS_X11', have_x11)
cdata.set('COGL_HAS_X11_SUPPORT', have_x11)
cdata.set('COGL_HAS_XLIB', have_x11)
cdata.set('COGL_HAS_XLIB_SUPPORT', have_x11)
+if have_native_backend
+ cdata.set('COGL_HAS_LIBDRM', libdrm_dep.found())
+endif
cogl_defines_h = configure_file(
input: 'cogl-defines.h.meson',