add check
This commit is contained in:
parent
062672c68d
commit
53b5ccc9d8
@ -1,7 +1,7 @@
|
|||||||
project(
|
project(
|
||||||
meson.current_source_dir().split('/').get(-1),
|
meson.current_source_dir().split('/').get(-1),
|
||||||
'cpp',
|
'cpp',
|
||||||
version : run_command('git', 'rev-parse', '--short', 'HEAD').stdout().strip(),
|
version : run_command('git', 'rev-parse', '--short', 'HEAD', check: false).stdout().strip(),
|
||||||
default_options : [
|
default_options : [
|
||||||
'warning_level=1',
|
'warning_level=1',
|
||||||
'optimization=3',
|
'optimization=3',
|
||||||
|
Loading…
Reference in New Issue
Block a user