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