aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2020-12-11 19:30:37 +0000
committerJussi Pakkanen <jpakkane@gmail.com>2020-12-11 19:30:37 +0000
commitdb7d4e24a0c0134f08df274d7100b66b1e8456dd (patch)
tree424d896e32b8fac8ef54136b7945314b7486ab2e
parentb65168c558c64cd2af4a9586443c295c5bec1114 (diff)
downloadmeson-ninjaver.zip
meson-ninjaver.tar.gz
meson-ninjaver.tar.bz2
Use currently detected Ninja version as the minimum required.ninjaver
-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: