The check argument is now set when calling run_command in meson.build
This commit is contained in:
parent
d2cee86857
commit
e1355f1ee2
@ -14,7 +14,7 @@ hg = find_program('hg', native : true, required : false)
|
|||||||
version = meson.project_version()
|
version = meson.project_version()
|
||||||
|
|
||||||
if hg.found()
|
if hg.found()
|
||||||
version = run_command(hg, 'identify').stdout().strip()
|
version = run_command(hg, 'identify', check : true).stdout().strip()
|
||||||
endif
|
endif
|
||||||
|
|
||||||
add_project_arguments('-D_GNU_SOURCE', '-DVERSION="' + version + '"', language : 'c')
|
add_project_arguments('-D_GNU_SOURCE', '-DVERSION="' + version + '"', language : 'c')
|
||||||
|
Loading…
Reference in New Issue
Block a user