aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/coredata.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/coredata.py')
-rw-r--r--mesonbuild/coredata.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mesonbuild/coredata.py b/mesonbuild/coredata.py
index 7bbc09e..bb84f72 100644
--- a/mesonbuild/coredata.py
+++ b/mesonbuild/coredata.py
@@ -91,7 +91,8 @@ class MesonVersionMismatchException(MesonException):
'''Build directory generated with Meson version is incompatible with current version'''
def __init__(self, old_version: str, current_version: str) -> None:
super().__init__(f'Build directory has been generated with Meson version {old_version}, '
- f'which is incompatible with the current version {current_version}.')
+ f'which is incompatible with the current version {current_version}. '
+ f'Consider reconfiguring the directory with meson setup --reconfigure.')
self.old_version = old_version
self.current_version = current_version