diff options
author | Brad King <brad.king@kitware.com> | 2020-02-24 18:33:54 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-02-24 18:34:13 (GMT) |
commit | 7da2c8c543b7f8ffc1afe1b1cc4d11d60e9db3a4 (patch) | |
tree | 65d2d6502efad74429f79d4bec8ec26d6f4f638a /Source | |
parent | 125f0451a9061c60036c5f92d104ee9fb3111a98 (diff) | |
parent | 738f3f23aa50749f27a0ee6ea61e7e0f7e52313a (diff) | |
download | CMake-7da2c8c543b7f8ffc1afe1b1cc4d11d60e9db3a4.zip CMake-7da2c8c543b7f8ffc1afe1b1cc4d11d60e9db3a4.tar.gz CMake-7da2c8c543b7f8ffc1afe1b1cc4d11d60e9db3a4.tar.bz2 |
Merge branch 'backport-cuda-non-device-link'
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmNinjaNormalTargetGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmNinjaNormalTargetGenerator.cxx b/Source/cmNinjaNormalTargetGenerator.cxx index ff79a17..0a6da91 100644 --- a/Source/cmNinjaNormalTargetGenerator.cxx +++ b/Source/cmNinjaNormalTargetGenerator.cxx @@ -197,7 +197,7 @@ void cmNinjaNormalTargetGenerator::WriteDeviceLinkRule( // build response file name std::string responseFlag = this->GetMakefile()->GetSafeDefinition( - "CMAKE_CUDA_RESPONSE_FILE_LINK_FLAG"); + "CMAKE_CUDA_RESPONSE_FILE_DEVICE_LINK_FLAG"); if (!useResponseFile || responseFlag.empty()) { vars.Objects = "$in"; @@ -311,7 +311,7 @@ void cmNinjaNormalTargetGenerator::WriteLinkRule(bool useResponseFile, if (flag) { responseFlag = flag; - } else if (this->TargetLinkLanguage(config) != "CUDA") { + } else { responseFlag = "@"; } |