Ninja: Fix message in cmGlobalNinjaGenerator::WriteBuild method

This commit is contained in:
Sebastian Holtermann committed 2019-05-10 20:22:26 +02:00
1 parent 02293841e7
commit 12aa6fe07b
1 file changed
+3 -5
+3 -5
View File
@@ -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;
}