CMAKE_<LANG>_LIBRARY_PATH_FLAGΒΆ

Added in version 3.16.

The flag to be used to add a library search path to the linker for the toolchain of language <LANG>.

CMake sets this variable automatically for some toolchains during toolchain inspection by calls to the project() or enable_language() commands.

If the CMAKE_<LANG>_LIBRARY_PATH_FLAG variable is defined, it takes precedence over the language-agnostic CMAKE_LIBRARY_PATH_FLAG variable.