Auto-detection of cuda version requires usage of a working directory.
Without a working directory specified, the executable will be output to what-ever working directory cmake-gui was launched from. In most cases when CMake is the 'system' version, this is a directory that you don't have write access to.