summaryrefslogtreecommitdiff
path: root/Source/cmNinjaNormalTargetGenerator.cxx
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2017-01-12 13:57:27 -0500
committerBrad King <brad.king@kitware.com>2017-01-12 15:07:10 -0500
commit05dbc940b7e19cdccd7ec73ea173719be66244e1 (patch)
treea1298888c13a76187a1e0921f9cb16d1d5afdfd8 /Source/cmNinjaNormalTargetGenerator.cxx
parent728820f3ea0faf55ffe1236a44a35e9197fc6291 (diff)
downloadcmake-05dbc940b7e19cdccd7ec73ea173719be66244e1.tar.gz
CUDA: Don't use module definition `.def` files for device linking
These files are meaningful only to the host linker.
Diffstat (limited to 'Source/cmNinjaNormalTargetGenerator.cxx')
-rw-r--r--Source/cmNinjaNormalTargetGenerator.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/cmNinjaNormalTargetGenerator.cxx b/Source/cmNinjaNormalTargetGenerator.cxx
index bc8d8ff72d..b17247847f 100644
--- a/Source/cmNinjaNormalTargetGenerator.cxx
+++ b/Source/cmNinjaNormalTargetGenerator.cxx
@@ -663,7 +663,6 @@ void cmNinjaNormalTargetGenerator::WriteDeviceLinkStatement()
this->addPoolNinjaVariable("JOB_POOL_LINK", &genTarget, vars);
- this->AddModuleDefinitionFlag(linkLineComputer.get(), vars["LINK_FLAGS"]);
vars["LINK_FLAGS"] =
cmGlobalNinjaGenerator::EncodeLiteral(vars["LINK_FLAGS"]);