New in version 3.27.
FindCUDA module is removed.
FindCUDA module has been deprecated since CMake 3.10.
CMake 3.27 and above prefer to not provide the module.
This policy provides compatibility for projects that have not been
ported away from it.
Projects using the
FindCUDA module should be updated to use
CUDA language support. List
CUDA among the
languages named in the top-level call to the
or call the
enable_language() command with
Then one can add CUDA (
.cu) sources directly to targets,
similar to other languages.
OLD behavior of this policy is for
load the deprecated module. The
NEW behavior is for uses of the
module to fail as if it does not exist.
This policy was introduced in CMake version 3.27. CMake version
3.28.20231203-gd56a1f5 warns when the policy is not set and uses
cmake_policy() command to set it to
OLD behavior of a policy is
deprecated by definition
and may be removed in a future version of CMake.