diff options
author | Brad King <brad.king@kitware.com> | 2021-07-08 11:53:46 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-07-08 11:53:52 (GMT) |
commit | 1c6d09768f3744f237320a7ee25907568d45533e (patch) | |
tree | 308fe4ccb4131f9d59cfc800f7cc1daf44229465 /Modules/FindCUDAToolkit.cmake | |
parent | 6dfe8430d457288e58abba7f95ec81eebfd26638 (diff) | |
parent | 266fc8ada550a29d46fd35c2c147de2436137978 (diff) | |
download | CMake-1c6d09768f3744f237320a7ee25907568d45533e.zip CMake-1c6d09768f3744f237320a7ee25907568d45533e.tar.gz CMake-1c6d09768f3744f237320a7ee25907568d45533e.tar.bz2 |
Merge topic 'FindCUDAToolkit-doc-version'
266fc8ada5 FindCUDAToolkit: Properly document the version support
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6320
Diffstat (limited to 'Modules/FindCUDAToolkit.cmake')
-rw-r--r-- | Modules/FindCUDAToolkit.cmake | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/Modules/FindCUDAToolkit.cmake b/Modules/FindCUDAToolkit.cmake index 777ee77..e453109 100644 --- a/Modules/FindCUDAToolkit.cmake +++ b/Modules/FindCUDAToolkit.cmake @@ -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. |