CUDA: Enable support on QNX
This fixes the following two issues with the CUDA support on QNX
- cuda target name is not derived correctly (should be
aarch64-qnx
). - linking
cudart
must not be linked againstrt
,dl
,pthread
.
This enables to use cmake's native cuda support on QNX.
Fixes: #21381 (closed)
Backport: release
Edited by Brad King