summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-02-24 18:33:54 (GMT)
committerBrad King <brad.king@kitware.com>2020-02-24 18:34:13 (GMT)
commit7da2c8c543b7f8ffc1afe1b1cc4d11d60e9db3a4 (patch)
tree65d2d6502efad74429f79d4bec8ec26d6f4f638a /Modules/Compiler
parent125f0451a9061c60036c5f92d104ee9fb3111a98 (diff)
parent738f3f23aa50749f27a0ee6ea61e7e0f7e52313a (diff)
downloadCMake-7da2c8c543b7f8ffc1afe1b1cc4d11d60e9db3a4.zip
CMake-7da2c8c543b7f8ffc1afe1b1cc4d11d60e9db3a4.tar.gz
CMake-7da2c8c543b7f8ffc1afe1b1cc4d11d60e9db3a4.tar.bz2
Merge branch 'backport-cuda-non-device-link'
Diffstat (limited to 'Modules/Compiler')
-rw-r--r--Modules/Compiler/NVIDIA-CUDA.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Compiler/NVIDIA-CUDA.cmake b/Modules/Compiler/NVIDIA-CUDA.cmake
index a786fb9..1f4d54d 100644
--- a/Modules/Compiler/NVIDIA-CUDA.cmake
+++ b/Modules/Compiler/NVIDIA-CUDA.cmake
@@ -82,7 +82,7 @@ set(CMAKE_CUDA_USE_RESPONSE_FILE_FOR_LIBRARIES 0)
set(CMAKE_CUDA_USE_RESPONSE_FILE_FOR_OBJECTS 0)
if (CMAKE_CUDA_COMPILER_VERSION VERSION_GREATER_EQUAL "9.0")
- set(CMAKE_CUDA_RESPONSE_FILE_LINK_FLAG "--options-file ")
+ set(CMAKE_CUDA_RESPONSE_FILE_DEVICE_LINK_FLAG "--options-file ")
set(CMAKE_CUDA_RESPONSE_FILE_FLAG "--options-file ")
endif()