diff options
author | Brad King <brad.king@kitware.com> | 2017-08-11 13:12:23 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-08-11 13:12:37 (GMT) |
commit | d4b70a20fae44e802b5e07c7fa18b81808263f77 (patch) | |
tree | 090b2551e7dfcb5ba3586f7b4a11f768b9466b46 /Modules/FindCUDA.cmake | |
parent | 485cbd456aae395da1661b08161751c3c3b47a96 (diff) | |
parent | ae813b6bcc64fc5096fb4a7d87920b47cfbe488f (diff) | |
download | CMake-d4b70a20fae44e802b5e07c7fa18b81808263f77.zip CMake-d4b70a20fae44e802b5e07c7fa18b81808263f77.tar.gz CMake-d4b70a20fae44e802b5e07c7fa18b81808263f77.tar.bz2 |
Merge topic 'FindCUDA-superseded'
ae813b6b FindCUDA: Document that module has been superseded
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1124
Diffstat (limited to 'Modules/FindCUDA.cmake')
-rw-r--r-- | Modules/FindCUDA.cmake | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Modules/FindCUDA.cmake b/Modules/FindCUDA.cmake index b79f787..bd7d0c0 100644 --- a/Modules/FindCUDA.cmake +++ b/Modules/FindCUDA.cmake @@ -2,6 +2,20 @@ # FindCUDA # -------- # +# .. note:: +# +# The FindCUDA module has been superseded by first-class support +# for the CUDA language in CMake. It is no longer necessary to +# use this module or call ``find_package(CUDA)``. This module +# now exists only for compatibility with projects that have not +# been ported. +# +# Instead, list ``CUDA`` among the languages named in the top-level +# call to the :command:`project` command, or call the +# :command:`enable_language` command with ``CUDA``. +# Then one can add CUDA (``.cu``) sources to programs directly +# in calls to :command:`add_library` and :command:`add_executable`. +# # Tools for building CUDA C files: libraries and build dependencies. # # This script locates the NVIDIA CUDA C tools. It should work on linux, |