mirror of
https://github.com/Kitware/CMake.git
synced 2026-11-06 21:37:11 +00:00
cmLocalGenerator: add PDB copying dependency on its script
This commit is contained in:
1 parent
d3849f9de1
commit
99bdf2ae16
1 file changed
+2
-1
@@ -2994,7 +2994,8 @@ void cmLocalGenerator::CopyPchCompilePdb(
|
||||
cc->SetCommandLines(commandLines);
|
||||
cc->SetComment(comment.c_str());
|
||||
cc->SetStdPipesUTF8(true);
|
||||
cc->AppendDepends({ reuseTarget->GetPchFile(config, language) });
|
||||
cc->AppendDepends(
|
||||
{ reuseTarget->GetPchFile(config, language), copy_script });
|
||||
|
||||
if (this->GetGlobalGenerator()->IsVisualStudio()) {
|
||||
cc->SetByproducts(outputs);
|
||||
|
||||
Reference in new issue
Block a user