summaryrefslogtreecommitdiffstats
path: root/Source/cmIncludeCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmIncludeCommand.cxx')
-rw-r--r--Source/cmIncludeCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmIncludeCommand.cxx b/Source/cmIncludeCommand.cxx
index 7b0320c..9242344 100644
--- a/Source/cmIncludeCommand.cxx
+++ b/Source/cmIncludeCommand.cxx
@@ -177,7 +177,7 @@ bool cmIncludeCommand(std::vector<std::string> const& args,
resultVarName, readit ? fname_abs.c_str() : "NOTFOUND");
}
- if (!optional && !readit && !cmSystemTools::GetFatalErrorOccured()) {
+ if (!optional && !readit && !cmSystemTools::GetFatalErrorOccurred()) {
std::string m = cmStrCat("could not load requested file:\n ", fname);
status.SetError(m);
return false;