summaryrefslogtreecommitdiff
path: root/mesonbuild/environment.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-08-29 18:46:44 -0400
committerEli Schwartz <eschwartz93@gmail.com>2024-08-30 15:44:13 -0400
commit19847ba24a5a6e7c33c4e00a49842d77f7c5a4a3 (patch)
tree0aed0c65525044ecb5cb6cd6a08aa568bd3d7262 /mesonbuild/environment.py
parent29797f92f818744adcdb354ca798036168608ac7 (diff)
downloadmeson-19847ba24a5a6e7c33c4e00a49842d77f7c5a4a3.tar.gz
update various deprecation notices to call out meson 2.0
Diffstat (limited to 'mesonbuild/environment.py')
-rw-r--r--mesonbuild/environment.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
index c26516215..5f4de73d5 100644
--- a/mesonbuild/environment.py
+++ b/mesonbuild/environment.py
@@ -694,7 +694,7 @@ class Environment:
key = OptionKey.from_string(k)
# If we're in the cross file, and there is a `build.foo` warn about that. Later we'll remove it.
if machine is MachineChoice.HOST and key.machine is not machine:
- mlog.deprecation('Setting build machine options in cross files, please use a native file instead, this will be removed in meson 0.60', once=True)
+ mlog.deprecation('Setting build machine options in cross files, please use a native file instead, this will be removed in meson 2.0', once=True)
if key.subproject:
raise MesonException('Do not set subproject options in [built-in options] section, use [subproject:built-in options] instead.')
self.options[key.evolve(subproject=subproject, machine=machine)] = v