diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2019-05-09 19:18:59 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2019-05-10 18:22:26 (GMT) |
commit | 12aa6fe07bc2f3903386fb1f57ace6601ec91100 (patch) | |
tree | 63d5d2c81a80431ab7c43ddf7ffd4fbabae8cd2a /Source/cmGlobalNinjaGenerator.cxx | |
parent | 02293841e742c14a18155bc0e10c39462c97dcbf (diff) | |
download | CMake-12aa6fe07bc2f3903386fb1f57ace6601ec91100.zip CMake-12aa6fe07bc2f3903386fb1f57ace6601ec91100.tar.gz CMake-12aa6fe07bc2f3903386fb1f57ace6601ec91100.tar.bz2 |
Ninja: Fix message in cmGlobalNinjaGenerator::WriteBuild method
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.cxx')
-rw-r--r-- | Source/cmGlobalNinjaGenerator.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Source/cmGlobalNinjaGenerator.cxx b/Source/cmGlobalNinjaGenerator.cxx index 684a679..5b5c812 100644 --- a/Source/cmGlobalNinjaGenerator.cxx +++ b/Source/cmGlobalNinjaGenerator.cxx @@ -136,17 +136,15 @@ void cmGlobalNinjaGenerator::WriteBuild( { // Make sure there is a rule. if (rule.empty()) { - cmSystemTools::Error("No rule for WriteBuildStatement! called " - "with comment: " + + cmSystemTools::Error("No rule for WriteBuild! called with comment: " + comment); return; } // Make sure there is at least one output file. if (outputs.empty()) { - cmSystemTools::Error("No output files for WriteBuildStatement! called " - "with comment: " + - comment); + cmSystemTools::Error( + "No output files for WriteBuild! called with comment: " + comment); return; } |