Browse Source

Merge topic 'fix-ClearSourcesCache' into release-3.17

a9f4f58f0c cmGeneratorTarget: Clear AllConfigSources in ClearSourcesCache

Acked-by: Kitware Robot <[email protected]>
Merge-request: !4751
Brad King 5 years ago
parent
commit
00949be941
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Source/cmGeneratorTarget.cxx

+ 1 - 0
Source/cmGeneratorTarget.cxx

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