diff options
| author | Brad King <brad.king@kitware.com> | 2022-06-14 11:34:25 (GMT) |
|---|---|---|
| committer | Kitware Robot <kwrobot@kitware.com> | 2022-06-14 11:34:32 (GMT) |
| commit | 6207937a7864dde142180b6df847bd06aaaf85f0 (patch) | |
| tree | 946c4f2444fb4be62d25906875a8e6517b1c1f86 /Source/cmGetFilenameComponentCommand.cxx | |
| parent | 7116712771538be9f093b6ae7f4ef5ce38fc3679 (diff) | |
| parent | 98a10290a854a78cbe0a804a3d69313acd6f4339 (diff) | |
| download | CMake-6207937a7864dde142180b6df847bd06aaaf85f0.zip CMake-6207937a7864dde142180b6df847bd06aaaf85f0.tar.gz CMake-6207937a7864dde142180b6df847bd06aaaf85f0.tar.bz2 | |
Merge topic 'spelling-occurred' into release-3.24
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/cmGetFilenameComponentCommand.cxx')
| -rw-r--r-- | Source/cmGetFilenameComponentCommand.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGetFilenameComponentCommand.cxx b/Source/cmGetFilenameComponentCommand.cxx index abe7d32..1815c4d 100644 --- a/Source/cmGetFilenameComponentCommand.cxx +++ b/Source/cmGetFilenameComponentCommand.cxx @@ -15,7 +15,7 @@ bool cmGetFilenameComponentCommand(std::vector<std::string> const& args, { if (args.size() < 3) { status.SetError("called with incorrect number of arguments"); - cmSystemTools::SetFatalErrorOccured(); + cmSystemTools::SetFatalErrorOccurred(); return false; } @@ -116,7 +116,7 @@ bool cmGetFilenameComponentCommand(std::vector<std::string> const& args, } else { std::string err = "unknown component " + args[2]; status.SetError(err); - cmSystemTools::SetFatalErrorOccured(); + cmSystemTools::SetFatalErrorOccurred(); return false; } |
