mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 04:40:18 -05:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user