mirror of
https://github.com/Kitware/CMake.git
synced 2026-08-08 16:50:48 +00:00
Ninja: Fixes CUDA device link in Windows
nvcc in linker mode doesn't support response files Fixes: #17644
This commit is contained in:
@@ -760,7 +760,7 @@ void cmNinjaNormalTargetGenerator::WriteDeviceLinkStatement()
|
|||||||
/*implicitOuts=*/cmNinjaDeps(), explicitDeps,
|
/*implicitOuts=*/cmNinjaDeps(), explicitDeps,
|
||||||
implicitDeps, orderOnlyDeps, vars, rspfile,
|
implicitDeps, orderOnlyDeps, vars, rspfile,
|
||||||
commandLineLengthLimit, &usedResponseFile);
|
commandLineLengthLimit, &usedResponseFile);
|
||||||
this->WriteDeviceLinkRule(usedResponseFile);
|
this->WriteDeviceLinkRule(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void cmNinjaNormalTargetGenerator::WriteLinkStatement()
|
void cmNinjaNormalTargetGenerator::WriteLinkStatement()
|
||||||
|
|||||||
Reference in New Issue
Block a user