CMAKE_<LANG>_COMPILER_VERSIONΒΆ

Compiler version string.

Compiler version in major[.minor[.patch[.tweak]]] format. This variable is not guaranteed to be defined for all compilers or languages.