Skip to content

Commit 9e5be27

Browse files
authored
meson: Fix warning in run_command usage (#21)
Meson warns: 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 meson 2.0. See also: mesonbuild/meson#9300
1 parent aa96874 commit 9e5be27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
project('ampart', 'c',
2-
version : run_command('bash', 'scripts/build-only-version.sh').stdout().strip())
2+
version : run_command('bash', 'scripts/build-only-version.sh', check: true).stdout().strip())
33
incdir = include_directories('include')
44
zlibdep = dependency('zlib')
55

0 commit comments

Comments
 (0)