Skip to content
Snippets Groups Projects
Commit eb692af6 authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'FindCUDAToolkit-doc-version' into release-3.21


266fc8ad FindCUDAToolkit: Properly document the version support

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !6320
parents 71e2829c 266fc8ad
No related branches found
No related tags found
No related merge requests found
......@@ -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
: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
^^^^^^^
``VERSION``
If specified, describes the version of the CUDA Toolkit to search for.
``REQUIRED``
If specified, configuration will error if a suitable CUDA Toolkit is not
found.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment