diff options
author | Raul Tambre <raul@tambre.ee> | 2020-09-20 14:30:35 (GMT) |
---|---|---|
committer | Raul Tambre <raul@tambre.ee> | 2020-09-20 14:35:12 (GMT) |
commit | 9d3f7872e14f1b27b4fb6b9e05bdbb455fb76c2f (patch) | |
tree | 3059b1806becc5207ec78ba903105973f7b748a6 /Help | |
parent | 39a5c0c82c2041a622bcdf19fa3f22abc34b9ae8 (diff) | |
download | CMake-9d3f7872e14f1b27b4fb6b9e05bdbb455fb76c2f.zip CMake-9d3f7872e14f1b27b4fb6b9e05bdbb455fb76c2f.tar.gz CMake-9d3f7872e14f1b27b4fb6b9e05bdbb455fb76c2f.tar.bz2 |
FindCUDAToolkit: Support scattered installations when crosscompiling
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 is the same fix as commit 2c0d5d01ee (CUDA: Support scattered
installations when crosscompiling with Clang, 2020-09-14).
Diffstat (limited to 'Help')
-rw-r--r-- | Help/release/dev/cuda-clang-scattered-cross.rst | 5 | ||||
-rw-r--r-- | Help/release/dev/cuda-scattered-cross.rst | 7 |
2 files changed, 7 insertions, 5 deletions
diff --git a/Help/release/dev/cuda-clang-scattered-cross.rst b/Help/release/dev/cuda-clang-scattered-cross.rst deleted file mode 100644 index 7278dcb..0000000 --- a/Help/release/dev/cuda-clang-scattered-cross.rst +++ /dev/null @@ -1,5 +0,0 @@ -cuda-clang-scattered-cross --------------------------- - -* Scattered toolkit installations are now recognized when crosscompiling - ``CUDA`` using Clang. diff --git a/Help/release/dev/cuda-scattered-cross.rst b/Help/release/dev/cuda-scattered-cross.rst new file mode 100644 index 0000000..a76407c --- /dev/null +++ b/Help/release/dev/cuda-scattered-cross.rst @@ -0,0 +1,7 @@ +cuda-scattered-cross +-------------------- + +* Scattered toolkit installations are now recognized when crosscompiling + ``CUDA`` using Clang. +* :module:`FindCUDAToolkit` now finds scattered toolkit installations when + crosscompiling. |