summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-05-29 10:12:17 (GMT)
committerBrad King <brad.king@kitware.com>2020-05-29 10:14:59 (GMT)
commit902858367f27e52a3693f8e65573621d9382ac88 (patch)
treebac30974567a2448374be0a11ef3c71c9614a64f /Source/cmGeneratorTarget.cxx
parente647949539f4704a00eddac2357d59ceeb8bc0ca (diff)
parentfa7b041eca021cecfd883cc5796150dae5ad4c5f (diff)
downloadCMake-902858367f27e52a3693f8e65573621d9382ac88.zip
CMake-902858367f27e52a3693f8e65573621d9382ac88.tar.gz
CMake-902858367f27e52a3693f8e65573621d9382ac88.tar.bz2
Merge branch 'backport-3.16-pch-fix-bad-ClearSourcesCache'
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 5828651..94a795e 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -3555,8 +3555,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);