Meson now uses the project version for defining -DVERSION

This commit is contained in:
Scoopta 2019-12-20 18:50:26 -08:00
parent f9f3fbb3f5
commit 77dd68e418

View File

@ -8,7 +8,7 @@ threads = dependency('threads')
wayland = dependency('wayland-client') wayland = dependency('wayland-client')
dl = cc.find_library('dl') 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') add_project_link_arguments('-rdynamic', language : 'c')
executable('wofi', executable('wofi',