Skip to content

Fix nvcc args generation (again)

Mark Abraham requested to merge cmake_fixNvccArgChecking into release-2022

2c23c1fc used broken CMake logic to test whether nvcc accepted lists of flags, or flag-value pairs. These presented to nvcc as arguments like "-flag1;-flag2" or "-flag;value" and were rejected.

Switched to using "--flag=value" forms of the nvcc flags that we wish to use, and documented the limitation.

Merge request reports