From 9a60deff0a4178e9b608fa76ff0bc06617d89540 Mon Sep 17 00:00:00 2001 From: Andres Freund Date: Mon, 8 Jul 2024 21:54:53 -0700 Subject: cmake dependency: Fix accidental use of T.Optional in warning message 09b53c534f seems to have done an over-eager search-replace. --- mesonbuild/dependencies/cmake.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' -- cgit v1.2.3