summaryrefslogtreecommitdiff
path: root/mesonbuild/dependencies
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2024-07-08 21:54:53 -0700
committerJussi Pakkanen <jpakkane@gmail.com>2024-07-10 21:30:42 +0300
commit9a60deff0a4178e9b608fa76ff0bc06617d89540 (patch)
tree4020d6d75f01282d5f6ce9fbe1b39689940af2f4 /mesonbuild/dependencies
parent814e58153743b743cf356717b999ef06a3edc68c (diff)
downloadmeson-9a60deff0a4178e9b608fa76ff0bc06617d89540.tar.gz
cmake dependency: Fix accidental use of T.Optional in warning message
09b53c534f seems to have done an over-eager search-replace.
Diffstat (limited to 'mesonbuild/dependencies')
-rw-r--r--mesonbuild/dependencies/cmake.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/dependencies/cmake.py b/mesonbuild/dependencies/cmake.py
index 66d331925..5493e94ba 100644
--- a/mesonbuild/dependencies/cmake.py
+++ b/mesonbuild/dependencies/cmake.py
@@ -525,7 +525,7 @@ class CMakeDependency(ExternalDependency):
for i, required in modules:
if i not in self.traceparser.targets:
if not required:
- mlog.warning('CMake: T.Optional module', mlog.bold(self._original_module_name(i)), 'for', mlog.bold(name), 'was not found')
+ mlog.warning('CMake: Optional module', mlog.bold(self._original_module_name(i)), 'for', mlog.bold(name), 'was not found')
continue
raise self._gen_exception('CMake: invalid module {} for {}.\n'
'Try to explicitly specify one or more targets with the "modules" property.\n'