Meson now uses the project version for defining -DVERSION
This commit is contained in:
parent
f9f3fbb3f5
commit
77dd68e418
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user