diff options
author | Brad King <brad.king@kitware.com> | 2023-07-28 19:20:14 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-07-31 14:46:00 (GMT) |
commit | be03265fa0e9134f84466e4aa92e62afb78cbc83 (patch) | |
tree | 474b70b4af1a43e7f4f18856579e477ac7651ec1 /Help/variable | |
parent | 13d78bbf16fdf27f0bd1fcc366817510540e0f1d (diff) | |
download | CMake-be03265fa0e9134f84466e4aa92e62afb78cbc83.zip CMake-be03265fa0e9134f84466e4aa92e62afb78cbc83.tar.gz CMake-be03265fa0e9134f84466e4aa92e62afb78cbc83.tar.bz2 |
Help: Explicitly note that projects should not set CMAKE_CUDA_HOST_COMPILER
Issue: #25093
Diffstat (limited to 'Help/variable')
-rw-r--r-- | Help/variable/CMAKE_CUDA_HOST_COMPILER.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_CUDA_HOST_COMPILER.rst b/Help/variable/CMAKE_CUDA_HOST_COMPILER.rst index 9817b1a..6e2d756 100644 --- a/Help/variable/CMAKE_CUDA_HOST_COMPILER.rst +++ b/Help/variable/CMAKE_CUDA_HOST_COMPILER.rst @@ -26,4 +26,11 @@ is read-only and changes to it are undefined behavior. .. note:: + Projects should not try to set ``CMAKE_CUDA_HOST_COMPILER`` to match + :variable:`CMAKE_CXX_COMPILER <CMAKE_<LANG>_COMPILER>` themselves. + It is the end-user's responsibility, not the project's, to ensure that + the C++ and CUDA compilers target the same ABI. + +.. note:: + Ignored when using :ref:`Visual Studio Generators`. |