summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorMichael Weiss <dev.primeos@gmail.com>2019-01-17 17:17:36 +0100
committerMichael Weiss <dev.primeos@gmail.com>2019-01-17 17:18:20 +0100
commit710a711fd762ead69685a302b33f4fa95db80a4b (patch)
treeed5048d2b2ba1f32ee931e0c0a51b75a4b60b02d /meson.build
parent79dd99cb3c8c8de81c822be04442aeff597aea70 (diff)
Replace old Sway references with swaylock
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index 9962270..85e5fdd 100644
--- a/meson.build
+++ b/meson.build
@@ -47,7 +47,7 @@ git = find_program('git', required: false)
scdoc = find_program('scdoc', required: false)
wayland_scanner = find_program('wayland-scanner')
-version = get_option('sway-version')
+version = get_option('swaylock-version')
if version != ''
version = '"@0@"'.format(version)
else
@@ -59,7 +59,7 @@ else
git_branch = run_command([git.path(), 'rev-parse', '--abbrev-ref', 'HEAD']).stdout().strip()
version = '"@0@ (" __DATE__ ", branch \'@1@\')"'.format(git_commit_hash, git_branch)
endif
-add_project_arguments('-DSWAY_VERSION=@0@'.format(version), language: 'c')
+add_project_arguments('-DSWAYLOCK_VERSION=@0@'.format(version), language: 'c')
wl_protocol_dir = wayland_protos.get_pkgconfig_variable('pkgdatadir')