summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-11-09 12:51:56 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-11-09 12:52:30 (GMT)
commit79c21dc9bdaf852c40c012fb73540f048a07f897 (patch)
tree90902610f2502d4138d2c9d7ac5a228e4ad96cb2 /Source/cmLocalGenerator.cxx
parent626d8fbc09b3d27b99caed92135cda3330439c3c (diff)
parent95fa27d94df39fda5463c6644ff78c364dd4e47f (diff)
downloadCMake-79c21dc9bdaf852c40c012fb73540f048a07f897.zip
CMake-79c21dc9bdaf852c40c012fb73540f048a07f897.tar.gz
CMake-79c21dc9bdaf852c40c012fb73540f048a07f897.tar.bz2
Merge topic 'msvc-pch-reuse-config'
95fa27d94d PCH: Fix REUSE_FROM when Debug and RelWithDebInfo configs differ Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6712
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 3a4c386..1fac0cb 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -2698,8 +2698,8 @@ void cmLocalGenerator::CopyPchCompilePdb(
cmStrCat(target->GetLocalGenerator()->GetCurrentBinaryDirectory(), "/",
target->GetName(), ".dir/");
- const std::string copy_script =
- cmStrCat(target_compile_pdb_dir, "copy_idb_pdb.cmake");
+ const std::string copy_script = cmStrCat(
+ target_compile_pdb_dir, "copy_idb_pdb_", config.c_str(), ".cmake");
cmGeneratedFileStream file(copy_script);
file << "# CMake generated file\n";