Procházet zdrojové kódy

Merge topic 'fbuild_byproducts' into release-4.2

b1b3602cda FASTBuild: remove non-existent autogen byproducts

Acked-by: Kitware Robot <[email protected]>
Merge-request: !11405
Brad King před 6 dny
rodič
revize
203a1cb1c5
1 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. 3 1
      Source/cmQtAutoGenInitializer.cxx

+ 3 - 1
Source/cmQtAutoGenInitializer.cxx

@@ -1394,7 +1394,9 @@ bool cmQtAutoGenInitializer::InitAutogenTarget()
   if (this->Uic.Enabled) {
     for (auto const& file : this->Uic.UiHeaders) {
       this->AddGeneratedSource(file.first, this->Uic);
-      autogenByproducts.push_back(file.second);
+      if (this->GlobalGen && !GlobalGen->IsFastbuild()) {
+        autogenByproducts.push_back(file.second);
+      }
     }
   }