CUDA: Support scattered installations when crosscompiling with Clang

Previously when CMAKE_CROSSCOMPILING was ON we'd end up not setting the target
directory if the non-scattered one didn't exist.
Fix this by assuming a scattered installation if the target directory isn't set
after the crosscompiling logic.
This commit is contained in:
Raul Tambre
2020-09-14 14:27:56 +03:00
parent 71133488ef
commit 2c0d5d01ee
2 changed files with 10 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
cuda-clang-scattered-cross
--------------------------
* Scattered toolkit installations are now recognized when crosscompiling
``CUDA`` using Clang.