CMAKE_LANG_IMPLICIT_LINK_DIRECTORIES.rst 847 B

1234567891011121314151617
  1. CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES
  2. --------------------------------------
  3. Implicit linker search path detected for language <LANG>.
  4. Compilers typically pass directories containing language runtime
  5. libraries and default library search paths when they invoke a linker.
  6. These paths are implicit linker search directories for the compiler's
  7. language. CMake automatically detects these directories for each
  8. language and reports the results in this variable.
  9. When a library in one of these directories is given by full path to
  10. target_link_libraries() CMake will generate the -l<name> form on link
  11. lines to ensure the linker searches its implicit directories for the
  12. library. Note that some toolchains read implicit directories from an
  13. environment variable such as LIBRARY_PATH so keep its value consistent
  14. when operating in a given build tree.