cmQtAutoGenInitializer: Remove no-op calls

This commit is contained in:
Orkun Tokdemir
2023-05-31 17:46:48 +02:00
committed by Brad King
parent 55d93bdabf
commit b6f66b445a

View File

@@ -1381,8 +1381,6 @@ bool cmQtAutoGenInitializer::InitAutogenTarget()
// '_autogen' target.
const auto timestampTargetName =
cmStrCat(this->GenTarget->GetName(), "_autogen_timestamp_deps");
std::vector<std::string> timestampTargetProvides;
cmCustomCommandLines timestampTargetCommandLines;
// Add additional autogen target dependencies to
// '_autogen_timestamp_deps'.
@@ -1401,9 +1399,7 @@ bool cmQtAutoGenInitializer::InitAutogenTarget()
auto cc = cm::make_unique<cmCustomCommand>();
cc->SetWorkingDirectory(this->Dir.Work.c_str());
cc->SetByproducts(timestampTargetProvides);
cc->SetDepends(dependencies);
cc->SetCommandLines(timestampTargetCommandLines);
cc->SetEscapeOldStyle(false);
cmTarget* timestampTarget = this->LocalGen->AddUtilityCommand(
timestampTargetName, true, std::move(cc));