aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivia Crain <olivia@olivia.dev>2024-09-26 22:18:37 -0500
committerOlivia Crain <olivia@olivia.dev>2024-09-27 11:57:53 -0500
commitb86863d93565a05b7695e3579caa2fe2ab62f3a1 (patch)
tree79b2b9b3f7472042d6d6bcca4e4bc6246619f5d5
parent624f44bf25902beaf5599bf031ef3610820b1f6a (diff)
build: require meson 1.4.0 or newer
This was already the de facto requirement, we use the method `full_path` on a file object (introduced in Meson 1.4.0) in the functional test suite's build. This version of Meson is in NixOS 24.05, so there should be no compatibility issues should this make it into a backported release of Lix. CC: https://git.lix.systems/lix-project/lix/issues/247 Change-Id: I5c640824807353b6eb4287e7ed09c4e89a4bdde2
-rw-r--r--meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 53ce6a348..ea2050b6b 100644
--- a/meson.build
+++ b/meson.build
@@ -47,6 +47,7 @@
# in the build directory.
project('lix', 'cpp', 'rust',
+ meson_version : '>=1.4.0',
version : run_command('bash', '-c', 'echo -n $(jq -r .version < ./version.json)$VERSION_SUFFIX', check : true).stdout().strip(),
default_options : [
'cpp_std=c++2a',