diff --git a/mesonbuild/modules/cmake.py b/mesonbuild/modules/cmake.py index 326aac6ac..a46c39959 100644 --- a/mesonbuild/modules/cmake.py +++ b/mesonbuild/modules/cmake.py @@ -127,7 +127,7 @@ class CMakeSubproject(ModuleObject): if res is None: raise InterpreterException(f'The CMake target {tgt} does not exist\n' + ' Use the following command in your meson.build to list all available targets:\n\n' + - ' message(\'CMaket targets:\\n - \' + \'\\n - \'.join(.target_list()))') + ' message(\'CMake targets:\\n - \' + \'\\n - \'.join(.target_list()))') # Make sure that all keys are present (if not this is a bug) assert all([x in res for x in ['inc', 'src', 'dep', 'tgt', 'func']])