diff --git a/lib/spack/spack/build_systems/cmake.py b/lib/spack/spack/build_systems/cmake.py index 92c319b0ab..0c6a166409 100644 --- a/lib/spack/spack/build_systems/cmake.py +++ b/lib/spack/spack/build_systems/cmake.py @@ -247,6 +247,7 @@ def build(self, spec, prefix): if self.generator == 'Unix Makefiles': inspect.getmodule(self).make(*self.build_targets) elif self.generator == 'Ninja': + self.build_targets.append("-v") inspect.getmodule(self).ninja(*self.build_targets) def install(self, spec, prefix):