mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-06 19:40:10 +02:00
Add check flag to Meson run_command()
The default value will change soon, so Meson is now showing warnings if you haven't set an explicit value.
This commit is contained in:
+4
-1
@@ -129,7 +129,10 @@ endif
|
||||
# issues so we'll do just that.
|
||||
#
|
||||
# https://bugs.winehq.org/show_bug.cgi?id=49138
|
||||
wine_version = run_command('sh', '-c', '''wine --version | grep --only-matching -P '[0-9]+\.[0-9]+' | head -n1''')
|
||||
wine_version = run_command(
|
||||
'sh', '-c', '''wine --version | grep --only-matching -P '[0-9]+\.[0-9]+' | head -n1''',
|
||||
check : false
|
||||
)
|
||||
if wine_version.returncode() == 0
|
||||
message('Targetting Wine @0@'.format(wine_version.stdout()))
|
||||
if wine_version.stdout().version_compare('>=5.7') and \
|
||||
|
||||
Reference in New Issue
Block a user