CMake Workaround for nvcc pthread issue There seems to be a bug in certain versions of CMake which cause the CUDA compiler (nvcc) to fail. Using another version of CMake resolves the problem.