mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 11:50:11 -05:00
FindCUDAToolkit: Properly document the version support
This commit is contained in:
@@ -75,12 +75,17 @@ The CUDA Toolkit search behavior uses the following order:
|
|||||||
(2) ensure that the correct ``nvcc`` executable shows up in ``$PATH`` for
|
(2) ensure that the correct ``nvcc`` executable shows up in ``$PATH`` for
|
||||||
:command:`find_program` to find.
|
:command:`find_program` to find.
|
||||||
|
|
||||||
|
Arguments
|
||||||
|
^^^^^^^^^
|
||||||
|
|
||||||
|
``[<version>]``
|
||||||
|
The ``[<version>]`` argument requests a version with which the package found
|
||||||
|
should be compatible. See :ref:`find_package version format <FIND_PACKAGE_VERSION_FORMAT>`
|
||||||
|
for more details.
|
||||||
|
|
||||||
Options
|
Options
|
||||||
^^^^^^^
|
^^^^^^^
|
||||||
|
|
||||||
``VERSION``
|
|
||||||
If specified, describes the version of the CUDA Toolkit to search for.
|
|
||||||
|
|
||||||
``REQUIRED``
|
``REQUIRED``
|
||||||
If specified, configuration will error if a suitable CUDA Toolkit is not
|
If specified, configuration will error if a suitable CUDA Toolkit is not
|
||||||
found.
|
found.
|
||||||
|
|||||||
Reference in New Issue
Block a user