Browse Source

Ninja: Fix message in cmGlobalNinjaGenerator::WriteBuild method

Sebastian Holtermann 6 years ago
parent
commit
12aa6fe07b
1 changed files with 3 additions and 5 deletions
  1. 3 5
      Source/cmGlobalNinjaGenerator.cxx

+ 3 - 5
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;
   }