aboutsummaryrefslogtreecommitdiffhomepage
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 726933bc..1d2c7f9f 100644
--- a/meson.build
+++ b/meson.build
@@ -29,6 +29,10 @@ add_project_arguments(
],
language: 'cpp')
+if cpp_compiler.check_header('execinfo.h')
+ add_project_arguments('-DHAS_EXECINFO', language: 'cpp')
+endif
+
wlroots = subproject('wlroots', default_options: ['examples=false', 'renderers=gles2'])
have_xwlr = wlroots.get_variable('features').get('xwayland')
xcb_dep = dependency('xcb', required: get_option('xwayland'))