diff options
author | Brad King <brad.king@kitware.com> | 2018-03-08 14:48:01 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-03-08 14:48:28 (GMT) |
commit | 69b152967d58fbe0aae5d873fffcc7cc2156364b (patch) | |
tree | 7027297803aa2e7042b4d0d8444093d5ed4f203b /Modules/Compiler | |
parent | 458fc1de49184a975019a18b5ae54eee373e4b13 (diff) | |
parent | f64732f59b5e7a7b5046119e6997ea885d0e0d05 (diff) | |
download | CMake-69b152967d58fbe0aae5d873fffcc7cc2156364b.zip CMake-69b152967d58fbe0aae5d873fffcc7cc2156364b.tar.gz CMake-69b152967d58fbe0aae5d873fffcc7cc2156364b.tar.bz2 |
Merge topic 'cuda-no-device-link-rsp'
f64732f59b CUDA: Do not pass unsupported @rspfile arguments to NVCC
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1831
Diffstat (limited to 'Modules/Compiler')
-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 1c91654..05db548 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) |