diff options
author | Frediano Ziglio <freddy77@gmail.com> | 2023-11-10 13:23:49 +0000 |
---|---|---|
committer | Frediano Ziglio <freddy77@gmail.com> | 2023-11-10 13:23:49 +0000 |
commit | 60e087f57f27b00a03db4e6898ade23e6bb47309 (patch) | |
tree | 2e550c6234599992e7bd0995a6a955f7ed618831 | |
parent | 9dc0ef615fdc0373a01f1075bf571020b680d15b (diff) |
build: Avoid Meson warningmain
Avoids:
WARNING: You should add the boolean check kwarg to the run_command call.
It currently defaults to false,
but it will default to true in future releases of meson.
See also: https://github.com/mesonbuild/meson/issues/9300
Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
-rw-r--r-- | meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build index aac9909..cf3b013 100644 --- a/meson.build +++ b/meson.build @@ -22,7 +22,7 @@ if host_machine.system() != 'windows' endif # Check if we are building from .git -git = run_command('test', '-d', '.git').returncode() == 0 +git = run_command('test', '-d', '.git', check : false).returncode() == 0 git_werror = get_option('git_werror') if git_werror.enabled() or git_werror.auto() and git cc_flags += [ '-Werror' ] |