summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorJoel Johnson <mrjoel@stellarscience.com>2021-04-16 03:39:48 (GMT)
committerJoel Johnson <mrjoel@stellarscience.com>2021-04-16 13:47:59 (GMT)
commit370bebd9210841cfb56d8b15d685e4ab9dc8c329 (patch)
tree96436fce474eaec253c957b42a2eb86ee51849e3 /Source/cmake.cxx
parent81d796e3f2f1080cc5f3c621a13858bf2c99ffb9 (diff)
downloadCMake-370bebd9210841cfb56d8b15d685e4ab9dc8c329.zip
CMake-370bebd9210841cfb56d8b15d685e4ab9dc8c329.tar.gz
CMake-370bebd9210841cfb56d8b15d685e4ab9dc8c329.tar.bz2
Add missing 'not' in error messages
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 4b57395..4d03821 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -3210,8 +3210,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));
@@ -3350,7 +3350,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;
}