summaryrefslogtreecommitdiff
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-04-19 13:43:39 +0000
committerKitware Robot <kwrobot@kitware.com>2021-04-19 09:44:03 -0400
commit5ac713da70db530756aba36d1537917ba4238f2a (patch)
tree828b55f4901f14e3d63e74bc27a19490c763dd13 /Source/cmake.cxx
parent42bede8385c1a9d729498d50cbe2aaf2602213fd (diff)
parent370bebd9210841cfb56d8b15d685e4ab9dc8c329 (diff)
downloadcmake-5ac713da70db530756aba36d1537917ba4238f2a.tar.gz
Merge topic 'mrjoel/add-missing-not'
370bebd921 Add missing 'not' in error messages Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6012
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 3b8b70e6b4..af3a504fd9 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -3271,8 +3271,8 @@ int cmake::Build(int jobs, std::string dir, std::vector<std::string> targets,
}
auto gen = this->CreateGlobalGenerator(*cachedGenerator);
if (!gen) {
- std::cerr << "Error: could create CMAKE_GENERATOR \"" << *cachedGenerator
- << "\"\n";
+ std::cerr << "Error: could not create CMAKE_GENERATOR \""
+ << *cachedGenerator << "\"\n";
return 1;
}
this->SetGlobalGenerator(std::move(gen));
@@ -3411,7 +3411,7 @@ bool cmake::Open(const std::string& dir, bool dryRun)
std::unique_ptr<cmGlobalGenerator> gen =
this->CreateGlobalGenerator(fullName);
if (!gen) {
- std::cerr << "Error: could create CMAKE_GENERATOR \"" << fullName
+ std::cerr << "Error: could not create CMAKE_GENERATOR \"" << fullName
<< "\"\n";
return false;
}