CUDA_RUNTIME_LIBRARY.rst 703 B

123456789101112131415161718192021
  1. CUDA_RUNTIME_LIBRARY
  2. --------------------
  3. Select the CUDA runtime library for use by compilers targeting the CUDA language.
  4. The allowed case insensitive values are:
  5. .. include:: CUDA_RUNTIME_LIBRARY-VALUES.txt
  6. Contents of ``CUDA_RUNTIME_LIBRARY`` may use
  7. :manual:`generator expressions <cmake-generator-expressions(7)>`.
  8. If that property is not set then CMake uses an appropriate default
  9. value based on the compiler to select the CUDA runtime library.
  10. .. note::
  11. This property has effect only when the ``CUDA`` language is enabled. To
  12. control the CUDA runtime linking when only using the CUDA SDK with the
  13. ``C`` or ``C++`` language we recommend using the :module:`FindCUDAToolkit`
  14. module.