Update in order to use cuda_add_executable instead of add_executable :)