mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-01 04:03:24 +03:00
Ninja: Fix message in cmGlobalNinjaGenerator::WriteBuild method
This commit is contained in:
1 parent
02293841e7
commit
12aa6fe07b
1 file changed
+3
-5
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user