mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 20:00:51 -05:00
CUDA: Do not pass unsupported @rspfile arguments to NVCC
The nvcc compiler does not support `@<rspfile>` arguments. It does offer a `--options-file` argument that can be investigated later. Fixes: #17797
This commit is contained in:
@@ -33,3 +33,9 @@ else()
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
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)
|
||||||
|
|||||||
Reference in New Issue
Block a user