CMake sets this variable automatically during toolchain inspection by calls to the project() or enable_language() commands.
project()
enable_language()