Integrated CUDA support (3.8/3.9) does not pass C++ standard to nvcc
The CXX_STANDARD
property is ignored for sources compiled with nvcc
. I believe it should be passed on, or alternatively a CUDA_CXX_STANDARD
property or some such should be introduced. As is, the workaround is to use an explicit flag.