瀏覽代碼

cmQtAutoGenInitializer: Remove no-op calls

Orkun Tokdemir 2 年之前
父節點
當前提交
b6f66b445a
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      Source/cmQtAutoGenInitializer.cxx

+ 0 - 4
Source/cmQtAutoGenInitializer.cxx

@@ -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));