Fixed warning regarding CMP0146 introduced by CMake 3.28.1
Reference issue
What does this implement/fix?
This merge request fixes a CMake warning with regards to CMP0146 by switching from the use of find_package(CUDA) to check_language(CUDA) as proposed in the CMake documentation.