summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-05-12 10:52:57 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-05-12 10:53:41 (GMT)
commit44ae68d976ecd1ac721967a2fde241e24f2d7d12 (patch)
treefbde8baae44b3f8fc9ff1f8d41a9d8ef50269a89 /Source
parent91dd23d3d544e25a88c8217b61d98a07ad73312c (diff)
parent6b2fb4ffd2e34093e54db0d5e2dac0fa17eacdf0 (diff)
downloadCMake-44ae68d976ecd1ac721967a2fde241e24f2d7d12.zip
CMake-44ae68d976ecd1ac721967a2fde241e24f2d7d12.tar.gz
CMake-44ae68d976ecd1ac721967a2fde241e24f2d7d12.tar.bz2
Merge topic 'vs-pch-compile-opts' into release-3.17
6b2fb4ffd2 VS: Fix using PCH from source with COMPILE_OPTIONS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4734
Diffstat (limited to 'Source')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index 8da113e..163ff19 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -2369,7 +2369,7 @@ void cmVisualStudio10TargetGenerator::OutputSourceSpecificFlags(
pchOptions =
this->GeneratorTarget->GetPchUseCompileOptions(config, lang);
}
- customAndPchOptions += pchOptions;
+ customAndPchOptions = cmStrCat(customAndPchOptions, ';', pchOptions);
}
// if we have flags or defines for this config then