summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaNormalTargetGenerator.cxx
diff options
context:
space:
mode:
authorFrancisco Facioni <francisco.facioni@hawkeyeinnovations.com>2018-01-15 10:58:52 (GMT)
committerFrancisco Facioni <francisco.facioni@hawkeyeinnovations.com>2018-01-15 11:04:37 (GMT)
commit2bd232b536b59824053bbf3d6a2ac120f493090f (patch)
treecd5184b6758e2675ec6b1b618329cedf474c3462 /Source/cmNinjaNormalTargetGenerator.cxx
parent675adaa4a4c5348049324d8cabe0cdde7a3d0ef0 (diff)
downloadCMake-2bd232b536b59824053bbf3d6a2ac120f493090f.zip
CMake-2bd232b536b59824053bbf3d6a2ac120f493090f.tar.gz
CMake-2bd232b536b59824053bbf3d6a2ac120f493090f.tar.bz2
Ninja: Fixes CUDA device link in Windows
nvcc in linker mode doesn't support response files Fixes: #17644
Diffstat (limited to 'Source/cmNinjaNormalTargetGenerator.cxx')
-rw-r--r--Source/cmNinjaNormalTargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmNinjaNormalTargetGenerator.cxx b/Source/cmNinjaNormalTargetGenerator.cxx
index e0cc35a..594e0f5 100644
--- a/Source/cmNinjaNormalTargetGenerator.cxx
+++ b/Source/cmNinjaNormalTargetGenerator.cxx
@@ -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()