diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-10-08 09:20:04 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-10-08 09:20:04 +0900 |
commit | b1db2e3803ec5e1d47292717af523a6ecfc21b71 (patch) | |
tree | c03371e9cdf3b99ab73add1852fab69691bf9cf3 /Source/cmLocalGenerator.cxx | |
parent | 8848cb736cd3fff26063eb5b814ec494d65eb8e1 (diff) | |
download | cmake-b1db2e3803ec5e1d47292717af523a6ecfc21b71.tar.gz cmake-b1db2e3803ec5e1d47292717af523a6ecfc21b71.tar.bz2 cmake-b1db2e3803ec5e1d47292717af523a6ecfc21b71.zip |
Imported Upstream version 3.17.3upstream/3.17.3
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index c2ec5f57f..f592b7bd7 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -2604,9 +2604,11 @@ void cmLocalGenerator::AddPchDependencies(cmGeneratorTarget* target) std::string pchSourceObj = reuseTarget->GetPchFileObject(config, lang); + const std::string configUpper = cmSystemTools::UpperCase(config); + // Link to the pch object file target->Target->AppendProperty( - "LINK_FLAGS", + cmStrCat("LINK_FLAGS_", configUpper), cmStrCat(" ", this->ConvertToOutputFormat(pchSourceObj, SHELL)), true); } |