aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMihai Fufezan <[email protected]>2023-10-11 15:53:53 +0300
committerMihai Fufezan <[email protected]>2023-10-11 17:16:06 +0300
commitb8bc3d583434f2a9e566ac6c24f89c81447ffa73 (patch)
tree5dbf5b5e04ceef1c2737f3121702f6efb7de195b
parent81115d5f0e7e7879a0bc5506475de6e859aba790 (diff)
downloadHyprland-b8bc3d583434f2a9e566ac6c24f89c81447ffa73.tar.gz
Hyprland-b8bc3d583434f2a9e566ac6c24f89c81447ffa73.zip
meson: add execinfo check
-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'))