Make sure to launch with the -U flag instead of -G.
How can I check that? Just in case where can I download CUDA?
I forgotten to tell you before... my OS is Ubuntu 15.10, I don't know if this is important.
You have to install the CUDA toolkit and run cmake with the -DBUNDLE=cudaminer option.
Check the readme on my github. It has Ubuntu 14.04 build instructions. 15.10 apparently is a bit of a pain with CUDA unfortunately
cmake -DBUNDLE=cudaminer -DCUDA_HOST_COMPILER=/usr/bin/gcc-4.9
If you install the CUDA tools (cud 6.5 I think) from the PPA, it also installs gcc-4.9 - at least it did for me.