diff options
author | Brad King <brad.king@kitware.com> | 2021-04-19 13:43:39 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-04-19 13:44:03 (GMT) |
commit | 5ac713da70db530756aba36d1537917ba4238f2a (patch) | |
tree | 828b55f4901f14e3d63e74bc27a19490c763dd13 /Source/cmake.cxx | |
parent | 42bede8385c1a9d729498d50cbe2aaf2602213fd (diff) | |
parent | 370bebd9210841cfb56d8b15d685e4ab9dc8c329 (diff) | |
download | CMake-5ac713da70db530756aba36d1537917ba4238f2a.zip CMake-5ac713da70db530756aba36d1537917ba4238f2a.tar.gz CMake-5ac713da70db530756aba36d1537917ba4238f2a.tar.bz2 |
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.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 3b8b70e..af3a504 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; } |