Skip to content

Optionally exclude implicit link directories via environment

Brad King requested to merge brad.king/cmake:implicit-link-dir-exclude into master

A misconfigured compiler may pass extraneous implicit link directories to its linker. If they are in CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES, CMake may generate extra -L flags on mixed-language link lines that break linking. Add an environment variable that users can set to work around such misconfiguration of their compilers.

Merge request reports

Loading