Fix znc-buildmod -v in cmake build

This commit is contained in:
Alexey Sokolov
2020-12-25 11:32:26 +00:00
parent b80d674cfc
commit a2d1681779
+2 -2
View File
@@ -80,9 +80,9 @@ with tempfile.TemporaryDirectory() as cmdir:
with tempfile.TemporaryDirectory() as build:
command = ['cmake', cmdir]
if args.verbose > 1:
cmd.append('--debug-output')
command.append('--debug-output')
if args.verbose > 2:
cmd.append('--trace')
command.append('--trace')
if args.verbose > 0:
print(command)
subprocess.check_call(command, cwd=build)