CMAKE_<LANG>_COMPILER_LOADED
----------------------------

Defined to true if the language is enabled.

When language <LANG> is enabled by project() or enable_language() this
variable is defined to 1.
