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',