summaryrefslogtreecommitdiff
path: root/Help
diff options
context:
space:
mode:
authorroot <raul@tambre.ee>2021-07-27 22:58:03 +0300
committerroot <raul@tambre.ee>2021-07-29 13:19:37 +0300
commit0b1cea66cd1f80458f0da579d0182d908874939d (patch)
tree182874aefd315752ab7a5e3c583a4a13d21e5ae4 /Help
parentf7cf69e34a1607e8ea2b6d10fef6a6058377c24e (diff)
downloadcmake-0b1cea66cd1f80458f0da579d0182d908874939d.tar.gz
CUDA/Clang: Fix separable compilation in non-root directories with Makefiles
Seems the relative paths were wrong basically all around such that only compiling files in the top-level directory would work. I've modified CudaOnly.SeparateCompilation to cover this. Fixes #22482.
Diffstat (limited to 'Help')
-rw-r--r--Help/release/3.21.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Help/release/3.21.rst b/Help/release/3.21.rst
index 3e705529fe..fc5d6ace2f 100644
--- a/Help/release/3.21.rst
+++ b/Help/release/3.21.rst
@@ -304,3 +304,9 @@ Changes made since CMake 3.21.0 include the following.
* The :generator:`Visual Studio 17 2022` generator is now based on
"Visual Studio 2022 Preview 2". Previously it was based on "Preview 1.1".
+
+3.21.2
+------
+
+* ``CUDA`` targets with :prop_tgt:`CUDA_SEPARABLE_COMPILATION` enabled are now
+ correctly generated in non-root directories.