You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ cmake --help-policy CMP0146CMP0146-------.. versionadded:: 3.27The ``FindCUDA`` module is removed.The ``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 beenported away from it.Projects using the ``FindCUDA`` module should be updated to useCMake's first-class ``CUDA`` language support. List ``CUDA`` among thelanguages named in the top-level call to the ``project()`` command,or call the ``enable_language()`` command with ``CUDA``.Then one can add CUDA (``.cu``) sources directly to targets,similar to other languages.The ``OLD`` behavior of this policy is for ``find_package(CUDA)`` toload the deprecated module. The ``NEW`` behavior is for uses of themodule to fail as if it does not exist.This policy was introduced in CMake version 3.27.It may be set by ``cmake_policy()`` or ``cmake_minimum_required()``.If it is not set, CMake warns, and uses ``OLD`` behavior... note:: The ``OLD`` behavior of a policy is ``deprecated by definition`` and may be removed in a future version of CMake.
We should work out whether we should simply set the policy to OLD, or upgrade the CUDA adaptor to use the new cmake functionality
The text was updated successfully, but these errors were encountered:
We should work out whether we should simply set the policy to
OLD
, or upgrade the CUDA adaptor to use the new cmake functionalityThe text was updated successfully, but these errors were encountered: