Ninja: Fixes CUDA device link in Windows

nvcc in linker mode doesn't support response files

Fixes: #17644
This commit is contained in:
Francisco Facioni 2018-01-15 10:58:52 +00:00
parent 675adaa4a4
commit 2bd232b536

View File

@ -760,7 +760,7 @@ void cmNinjaNormalTargetGenerator::WriteDeviceLinkStatement()
/*implicitOuts=*/cmNinjaDeps(), explicitDeps,
implicitDeps, orderOnlyDeps, vars, rspfile,
commandLineLengthLimit, &usedResponseFile);
this->WriteDeviceLinkRule(usedResponseFile);
this->WriteDeviceLinkRule(false);
}
void cmNinjaNormalTargetGenerator::WriteLinkStatement()