summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-05-29 10:20:41 (GMT)
committerBrad King <brad.king@kitware.com>2020-05-29 10:20:41 (GMT)
commit5ff1a2521b878992c0f72cdb5ae2f5daf7d6db76 (patch)
treeb9f7b07e172b14ba70da9a4ca671236a59dac443 /Source/cmGeneratorTarget.cxx
parente14974a208edd48c43ae9a80d76ea4e511e1b540 (diff)
parentfa7b041eca021cecfd883cc5796150dae5ad4c5f (diff)
downloadCMake-5ff1a2521b878992c0f72cdb5ae2f5daf7d6db76.zip
CMake-5ff1a2521b878992c0f72cdb5ae2f5daf7d6db76.tar.gz
CMake-5ff1a2521b878992c0f72cdb5ae2f5daf7d6db76.tar.bz2
Merge branch 'backport-3.16-pch-fix-bad-ClearSourcesCache' into release-3.16
Merge-request: !4815
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r--Source/cmGeneratorTarget.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index cde91c9..4cf076e 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -3496,8 +3496,6 @@ std::string cmGeneratorTarget::GetPchFileObject(const std::string& config,
}
std::string& filename = inserted.first->second;
- this->AddSource(pchSource, true);
-
auto pchSf = this->Makefile->GetOrCreateSource(
pchSource, false, cmSourceFileLocationKind::Known);