Skip to content

CUDA: Fix CUDA architecture flags for nvcc response files

Brad King requested to merge brad.king/cmake:cuda-arch-nvcc-options-file into master

nvcc --options-file does not parse unquoted arguments in a response file correctly if they contain []. Quote the --generate-code= flags we add for CUDA architectures.

Fixes: #24657 (closed)

Merge request reports