summaryrefslogtreecommitdiffstats
path: root/Source/cmIncludeCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-06-14 11:34:25 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-06-14 11:34:32 (GMT)
commit93812f95c6cc2e4bc693b7f34b8684ba85d5cb82 (patch)
treed55d5dc05616bfe354df860269284114a2510d82 /Source/cmIncludeCommand.cxx
parenta491edd54f1e6ae74a1f047bae6bb81b68d7ae2e (diff)
parent98a10290a854a78cbe0a804a3d69313acd6f4339 (diff)
downloadCMake-93812f95c6cc2e4bc693b7f34b8684ba85d5cb82.zip
CMake-93812f95c6cc2e4bc693b7f34b8684ba85d5cb82.tar.gz
CMake-93812f95c6cc2e4bc693b7f34b8684ba85d5cb82.tar.bz2
Merge topic 'spelling-occurred'
98a10290a8 cmSystemTools: Fix 'ErrorOccurred' spelling Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7353
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;