summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_CUDA_RUNTIME_LIBRARY.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-05-22 10:55:22 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-05-22 10:55:37 (GMT)
commit0781540a80cfc7b15b1ebc1b60afe34f22f247e0 (patch)
tree081dd1c7a32bac750dc430dcad048872caaf000c /Help/variable/CMAKE_CUDA_RUNTIME_LIBRARY.rst
parent0c557a0cab681b17dbd4ed06f7776459880a90ea (diff)
parente55b21e24ee81f5433b8ec778aa341c485d6e149 (diff)
downloadCMake-0781540a80cfc7b15b1ebc1b60afe34f22f247e0.zip
CMake-0781540a80cfc7b15b1ebc1b60afe34f22f247e0.tar.gz
CMake-0781540a80cfc7b15b1ebc1b60afe34f22f247e0.tar.bz2
Merge topic 'cuda-default-runtime' into release-3.17
e55b21e24e CUDA: Compute CMAKE_CUDA_RUNTIME_LIBRARY default from toolchain 1086e930dc CUDA: Propagate CMAKE_CUDA_RUNTIME_LIBRARY state to try_compile a4ea293153 Help: Correct CMAKE_CUDA_RUNTIME_LIBRARY applicability Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4762
Diffstat (limited to 'Help/variable/CMAKE_CUDA_RUNTIME_LIBRARY.rst')
-rw-r--r--Help/variable/CMAKE_CUDA_RUNTIME_LIBRARY.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Help/variable/CMAKE_CUDA_RUNTIME_LIBRARY.rst b/Help/variable/CMAKE_CUDA_RUNTIME_LIBRARY.rst
index ea1c1b8..e3205d3 100644
--- a/Help/variable/CMAKE_CUDA_RUNTIME_LIBRARY.rst
+++ b/Help/variable/CMAKE_CUDA_RUNTIME_LIBRARY.rst
@@ -1,7 +1,7 @@
CMAKE_CUDA_RUNTIME_LIBRARY
--------------------------
-Select the CUDA runtime library for use by compilers targeting the MSVC ABI.
+Select the CUDA runtime library for use when compiling and linking CUDA.
This variable is used to initialize the :prop_tgt:`CUDA_RUNTIME_LIBRARY`
property on all targets as they are created.
@@ -14,7 +14,8 @@ Contents of ``CMAKE_CUDA_RUNTIME_LIBRARY`` may use
If this variable is not set then the :prop_tgt:`CUDA_RUNTIME_LIBRARY` target
property will not be set automatically. If that property is not set then
-CMake uses the default value ``Static`` to select the CUDA runtime library.
+CMake uses an appropriate default value based on the compiler to select the
+CUDA runtime library.
.. note::