From 77dd68e418340c165ad0439c5345e3a48c82cb98 Mon Sep 17 00:00:00 2001 From: Scoopta Date: Fri, 20 Dec 2019 18:50:26 -0800 Subject: [PATCH] Meson now uses the project version for defining -DVERSION --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 9527ba8..b6b4f05 100644 --- a/meson.build +++ b/meson.build @@ -8,7 +8,7 @@ threads = dependency('threads') wayland = dependency('wayland-client') dl = cc.find_library('dl') -add_project_arguments('-D_GNU_SOURCE', '-DVERSION="v1.0"', language : 'c') +add_project_arguments('-D_GNU_SOURCE', '-DVERSION="' + meson.project_version() + '"', language : 'c') add_project_link_arguments('-rdynamic', language : 'c') executable('wofi',