CMAKE_<LANG>_COMPILER_LINKER_ID — CMake 3.31.2 Documentation

# CMAKE_<LANG>_COMPILER_LINKER_ID

Added in version 3.29.

Linker identification string.

A short string unique to the linker vendor. Possible values include:

Value | Name
--- | ---
`AppleClang` | Apple Clang
`LLD` | LLVM LLD
`GNU` | GNU Binutils - ld linker (also known as `bfd`)
`GNUgold` | GNU Binutils - gold linker
`MSVC` | Microsoft Visual Studio
`MOLD` | mold: A Modern Linker, or on Apple the sold linker
`AIX` | AIX system linker
`Solaris` | SunOS system linker

This variable is not guaranteed to be defined for all linkers or languages.