aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mesonbuild/backend/ninjabackend.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py
index 0fe8a2f..3b01677 100644
--- a/mesonbuild/backend/ninjabackend.py
+++ b/mesonbuild/backend/ninjabackend.py
@@ -500,7 +500,7 @@ int dummy;
outfile.write('# This is the build file for project "{}"\n'.format(self.build.get_project()))
outfile.write('# It is autogenerated by the Meson build system.\n')
outfile.write('# Do not edit by hand.\n\n')
- outfile.write('ninja_required_version = 1.8.2\n\n')
+ outfile.write('ninja_required_version = {}\n\n'.format(self.ninja_version))
num_pools = self.environment.coredata.backend_options['backend_max_links'].value
if num_pools > 0: