diff options
author | Brad King <brad.king@kitware.com> | 2018-03-07 10:52:54 -0500 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-03-07 10:52:54 -0500 |
commit | 57f35bba84f53300641c6a597b4eca728f02874a (patch) | |
tree | 5777c97b0f66fad1b850a4a1954e9f0f7dba1361 /Modules | |
parent | 9288abf567451c98e97c00d5ccc928e97794b1e6 (diff) | |
parent | f64732f59b5e7a7b5046119e6997ea885d0e0d05 (diff) | |
download | cmake-57f35bba84f53300641c6a597b4eca728f02874a.tar.gz |
Merge branch 'cuda-no-device-link-rsp' into release-3.11
Merge-request: !1831
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Compiler/NVIDIA-CUDA.cmake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Modules/Compiler/NVIDIA-CUDA.cmake b/Modules/Compiler/NVIDIA-CUDA.cmake index 1c91654580..05db548f57 100644 --- a/Modules/Compiler/NVIDIA-CUDA.cmake +++ b/Modules/Compiler/NVIDIA-CUDA.cmake @@ -33,3 +33,9 @@ else() endif() endif() + +# FIXME: investigate use of --options-file. +# Tell Makefile generator that nvcc does not support @<rspfile> syntax. +set(CMAKE_CUDA_USE_RESPONSE_FILE_FOR_INCLUDES 0) +set(CMAKE_CUDA_USE_RESPONSE_FILE_FOR_LIBRARIES 0) +set(CMAKE_CUDA_USE_RESPONSE_FILE_FOR_OBJECTS 0) |