CMAKE_<LANG>_LINK_LIBRARY_FLAG

Added in version 3.16.

Flag to be used to link a library into a shared library or executable.

This flag will be used to specify a library to link to a shared library or an executable for the specific language. On most compilers this is -l.