Browse Source

Ninja: Fixes CUDA device link in Windows

nvcc in linker mode doesn't support response files

Fixes: #17644
Francisco Facioni 8 years ago
parent
commit
2bd232b536
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/cmNinjaNormalTargetGenerator.cxx

+ 1 - 1
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()