CMake does not find CUDA if not in $PATH if CUDA is a project LANGUAGE

You mean changing the LANGUAGES line to the following?

project(prova LANGUAGES C CXX CUDA)

Unfortunately it doesn’t help:

cmake ..

-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- The CUDA compiler identification is unknown

Edoardo