FindCUDAToolkit: Conflicting statements in nvRTC docs about only being a shared library
In Modules/FindCUDAToolkit.cmake
, it states in the docs that nvRTC is a shared library only, but it seems this module now provides static imported libraries too for CUDA 11.5+ (see !8100 (merged)). The "This is a shared library only," line should be updated to more accurately reflect the reality. While it appears this was true before 11.5, I don't know if there's a subtlety in this statement or whether I'm misunderstanding what 11.5 added, so someone more knowledgeable about the internals should check and update this part of the docs.
nvRTC
"""""
The `nvRTC <https://docs.nvidia.com/cuda/nvrtc/index.html>`_ (Runtime Compilation) library.
This is a shared library only.
Targets Created:
- ``CUDA::nvrtc``
.. versionadded:: 3.26
- ``CUDA::nvrtc_builtins``
- ``CUDA::nvrtc_static`` starting in CUDA 11.5
- ``CUDA::nvrtc_builtins_static`` starting in CUDA 11.5