aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 0d8fbe58..19d334e3 100644
--- a/meson.build
+++ b/meson.build
@@ -125,8 +125,10 @@ if get_option('enable-xwayland')
else
exclude_headers += 'xwayland.h'
endif
+
+includedir = get_option('includedir')
exclude_headers += 'meson.build'
-install_subdir('include/wlr', install_dir: 'include', exclude_files: exclude_headers)
+install_subdir('include/wlr', install_dir: includedir, exclude_files: exclude_headers)
subdir('include')