Skip to content
Snippets Groups Projects
Commit a2372f64 authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'mrjoel/add-missing-not' into release-3.20


370bebd9 Add missing 'not' in error messages

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !6012
parents afba2709 370bebd9
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
^Error: could create CMAKE_GENERATOR "Bad Generator"$
^Error: could not create CMAKE_GENERATOR "Bad Generator"$
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment