diff --git a/mesonbuild/cmake/traceparser.py b/mesonbuild/cmake/traceparser.py index 806b4fb1f..4b87319ff 100644 --- a/mesonbuild/cmake/traceparser.py +++ b/mesonbuild/cmake/traceparser.py @@ -403,7 +403,7 @@ class CMakeTraceParser: def _guess_files(self, broken_list: List[str]) -> List[str]: #Try joining file paths that contain spaces - reg_start = re.compile(r'^/.*/[^./]+$') + reg_start = re.compile(r'^([A-Za-z]:)?/.*/[^./]+$') reg_end = re.compile(r'^.*\.[a-zA-Z]+$') fixed_list = [] # type: List[str]