aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-12-05 12:35:51 -0500
committerGitHub <noreply@github.com>2017-12-05 12:35:51 -0500
commit3fe64482bb269a3dcceeaf1107b9d59dc60eb8d0 (patch)
tree8fea86b5c928d551723426e196405e5f2f25de2e /meson.build
parentf2aa33ae0f6cd91b88a3f24b65e3e915c3960931 (diff)
parent7e81d304a3121e92f78527dcf1327e991b0089ac (diff)
Merge pull request #1498 from emersion/config
Add minimal config subsystem
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 695e237e..8e7b98ed 100644
--- a/meson.build
+++ b/meson.build
@@ -65,6 +65,8 @@ if a2x.found()
endforeach
endif
+add_project_arguments('-DSYSCONFDIR="/@0@"'.format(sysconfdir), language : 'c')
+
version = get_option('sway_version')
if version != ''
version = '"@0@"'.format(version)