Use FIndCUDAToolkit instead of the deprecated FindCUDA
The FindCUDA
module has been deprecated in version 3.10 of CMake. Currently, using it instead of the FindCUDAToolkit
module complicates things when using the NVHPC Toolkit (which is necessary when working in Fortran) as it is not recognized. Would you consider updating the cmake_minimum_required
version to 3.17 and replace the deprecated module with the new one?
At the moment, on CMake 3.31 we already have deprecation warnings for releases <3.10, to give a time reference, Ubuntu 22.04 LTS was released with CMake 3.22.