summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGenInitializer.cxx
diff options
context:
space:
mode:
authorOrkun Tokdemir <ilhanorkuntokdemir@gmail.com>2023-05-31 15:46:48 (GMT)
committerBrad King <brad.king@kitware.com>2023-05-31 17:03:37 (GMT)
commitb6f66b445a32b6a931b33b1dd399f64fb21ef429 (patch)
tree269076c77a4172df431fe3e7614763b9f545f355 /Source/cmQtAutoGenInitializer.cxx
parent55d93bdabfa89c20563135c03e8cf54e338dffed (diff)
downloadCMake-b6f66b445a32b6a931b33b1dd399f64fb21ef429.zip
CMake-b6f66b445a32b6a931b33b1dd399f64fb21ef429.tar.gz
CMake-b6f66b445a32b6a931b33b1dd399f64fb21ef429.tar.bz2
cmQtAutoGenInitializer: Remove no-op calls
Diffstat (limited to 'Source/cmQtAutoGenInitializer.cxx')
-rw-r--r--Source/cmQtAutoGenInitializer.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/cmQtAutoGenInitializer.cxx b/Source/cmQtAutoGenInitializer.cxx
index 81bf65c..a5c043d 100644
--- a/Source/cmQtAutoGenInitializer.cxx
+++ b/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));