CMAKE__LINK_LIBRARY_FLAG

From Get docs
Cmake/docs/3.21/variable/cmake lang link library flag


CMAKE__LINK_LIBRARY_FLAG

New 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.

© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/variable/CMAKE_LANG_LINK_LIBRARY_FLAG.html