aboutsummaryrefslogtreecommitdiff
path: root/test cases/common/14 configure file
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2021-10-28 20:27:39 -0400
committerEli Schwartz <eschwartz@archlinux.org>2021-11-20 20:48:29 -0500
commit329783d80c69c689f97dbf08e88572187505904c (patch)
tree384029982361e9f9e7045ba094375cf8ab0d16d5 /test cases/common/14 configure file
parentdbb109703e0b1f91965868c3ab193eff6e45eb22 (diff)
downloadmeson-329783d80c69c689f97dbf08e88572187505904c.zip
meson-329783d80c69c689f97dbf08e88572187505904c.tar.gz
meson-329783d80c69c689f97dbf08e88572187505904c.tar.bz2
guard a complicated mlog.warning inside a Feature check
This is only relevant on certain versions of meson, so do not print it when meson_version is too low. The message itself is not precisely a deprecation warning, since ostensibly it may be an unlikely coding mistake. It is probably an attempt to implement `copy: true`, but it might not be, hence "warning" instead of "deprecation". So although we could switch this to a FeatureDeprecated, that is not being done at this time.
Diffstat (limited to 'test cases/common/14 configure file')
-rw-r--r--test cases/common/14 configure file/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/test cases/common/14 configure file/meson.build b/test cases/common/14 configure file/meson.build
index 8fdca21..416dad7 100644
--- a/test cases/common/14 configure file/meson.build
+++ b/test cases/common/14 configure file/meson.build
@@ -1,4 +1,4 @@
-project('configure file test', 'c')
+project('configure file test', 'c', meson_version: '>=0.47.0')
conf = configuration_data()