diff --git a/Framework/PCProjectBuilder.m b/Framework/PCProjectBuilder.m index e6db521d..a3d01fc9 100644 --- a/Framework/PCProjectBuilder.m +++ b/Framework/PCProjectBuilder.m @@ -1145,9 +1145,16 @@ - (NSArray *)parseErrorLine:(NSString *)string {// first message after "In file included from" // NSLog(@"Inlcuded File: %@", file); includedFile = [components objectAtIndex:0]; - file = - [currentBuildPath stringByAppendingPathComponent:includedFile]; - currentEL = ELIncludedError; + if ([includedFile isAbsolutePath]) + { + file = includedFile; + } + else + { + file = + [currentBuildPath stringByAppendingPathComponent:includedFile]; + currentEL = ELIncludedError; + } } else {