Sfoglia il codice sorgente

Merge topic 'fix-ClearSourcesCache'

a9f4f58f0c cmGeneratorTarget: Clear AllConfigSources in ClearSourcesCache

Acked-by: Kitware Robot <[email protected]>
Merge-request: !4751
Brad King 5 anni fa
parent
commit
ab0a092e13
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      Source/cmGeneratorTarget.cxx

+ 1 - 0
Source/cmGeneratorTarget.cxx

@@ -693,6 +693,7 @@ const char* cmGeneratorTarget::GetFileSuffixInternal(
 
 void cmGeneratorTarget::ClearSourcesCache()
 {
+  this->AllConfigSources.clear();
   this->KindedSourcesMap.clear();
   this->LinkImplementationLanguageIsContextDependent = true;
   this->Objects.clear();