mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-27 03:08:35 -06:00
cmLocalGenerator: disable C++ module scanning for copied PCH sources
This commit is contained in:
@@ -2928,6 +2928,7 @@ void cmLocalGenerator::CopyPchCompilePdb(
|
||||
} else {
|
||||
cc->SetOutputs(outputs);
|
||||
cmSourceFile* copy_rule = this->AddCustomCommandToOutput(std::move(cc));
|
||||
copy_rule->SetProperty("CXX_SCAN_FOR_MODULES", "0");
|
||||
|
||||
if (copy_rule) {
|
||||
target->AddSource(copy_rule->ResolveFullPath());
|
||||
|
||||
Reference in New Issue
Block a user