CMAKE_<LANG>_IMPLICIT_LINK_LIBRARIES_EXCLUDE — CMake 4.1.4 Documentation

# CMAKE_<LANG>_IMPLICIT_LINK_LIBRARIES_EXCLUDE

Added in version 4.1.

This is a CMake Environment Variable. Its initial value is taken from the calling process environment.

A semicolon-separated list of libraries to exclude from the `CMAKE_<LANG>_IMPLICIT_LINK_LIBRARIES` variable when it is automatically detected from the `<LANG>` compiler.

This may be used to work around detection limitations that result in extraneous implicit link libraries, e.g., when using compiler driver flags that affect the set of implicitly linked libraries.

See also the `CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES_EXCLUDE` environment variable.