CMAKE_LANG_IMPLICIT_LINK_DIRECTORIES_EXCLUDE.rst 588 B

12345678910111213141516
  1. CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES_EXCLUDE
  2. ----------------------------------------------
  3. .. versionadded:: 3.27
  4. .. include:: include/ENV_VAR.rst
  5. A :ref:`semicolon-separated list <CMake Language Lists>` of directories
  6. to exclude from the :variable:`CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES`
  7. variable when it is automatically detected from the ``<LANG>`` compiler.
  8. This may be used to work around misconfigured compiler drivers that pass
  9. extraneous implicit link directories to their linker.
  10. See also the :envvar:`CMAKE_<LANG>_IMPLICIT_LINK_LIBRARIES_EXCLUDE`
  11. environment variable.