CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES_EXCLUDE — CMake 3.27.7 Documentation

# CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES_EXCLUDE

New in version 3.27.

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

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

This may be used to work around misconfigured compiler drivers that pass extraneous implicit link directories to their linker.