aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mesonbuild/interpreter.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/mesonbuild/interpreter.py b/mesonbuild/interpreter.py
index 2e4444c..8653b38 100644
--- a/mesonbuild/interpreter.py
+++ b/mesonbuild/interpreter.py
@@ -2914,7 +2914,11 @@ external dependencies (including libraries) must go to "dependencies".''')
mlog.log()
with mlog.nested(subp_name):
stack = ':'.join(self.subproject_stack + [subp_name])
- mlog.log('Executing subproject', mlog.bold(stack), 'method', mlog.bold(method), '\n')
+ m = ['Executing subproject', mlog.bold(stack)]
+ if method != 'meson':
+ m += ['method', mlog.bold(method)]
+ mlog.log(*m,'\n')
+
try:
if method == 'meson':
return self._do_subproject_meson(subp_name, subdir, default_options, kwargs)