diff --git a/Source/cmQtAutoGenInitializer.cxx b/Source/cmQtAutoGenInitializer.cxx index a0308ce0ee..bf48dbbb86 100644 --- a/Source/cmQtAutoGenInitializer.cxx +++ b/Source/cmQtAutoGenInitializer.cxx @@ -1584,8 +1584,6 @@ bool cmQtAutoGenInitializer::InitRccTargets() } else { // Create custom rcc command { - std::vector ccByproducts; - // Add the resource files to the dependencies for (std::string const& fileName : qrc.Resources) { // Add resource file to the custom command dependencies @@ -1595,7 +1593,6 @@ bool cmQtAutoGenInitializer::InitRccTargets() ccDepends.push_back(this->Rcc.ExecutableTargetName); } cc->SetOutputs(ccOutput); - cc->SetByproducts(ccByproducts); cc->SetDepends(ccDepends); this->LocalGen->AddCustomCommandToOutput(std::move(cc)); }