summaryrefslogtreecommitdiffstats
path: root/Source/cmSourceFileLocation.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmSourceFileLocation.cxx')
-rw-r--r--Source/cmSourceFileLocation.cxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/cmSourceFileLocation.cxx b/Source/cmSourceFileLocation.cxx
index 159f22f..71c2f8f 100644
--- a/Source/cmSourceFileLocation.cxx
+++ b/Source/cmSourceFileLocation.cxx
@@ -173,7 +173,13 @@ bool cmSourceFileLocation::Matches(cmSourceFileLocation const& loc)
// Each side has a directory relative to a different location.
// This can occur when referencing a source file from a different
// directory. This is not yet allowed.
- abort();
+ this->Makefile->
+ IssueMessage(cmake::INTERNAL_ERROR,
+ "Matches error: Each side has a directory relative to a different"
+ " location. This can occur when referencing a "
+ "source file from a different directory. "
+ "This is not yet allowed.");
+ return false;
}
else if(this->AmbiguousDirectory)
{