LINK_FLAGS
From Get docs
Cmake/docs/3.21/prop tgt/link flags
LINK_FLAGS
Additional flags to use when linking this target if it is a shared library, module library, or an executable. Static libraries need to use STATIC_LIBRARY_OPTIONS or STATIC_LIBRARY_FLAGS properties.
The LINK_FLAGS
property, managed as a string, can be used to add extra flags to the link step of a target. LINK_FLAGS_ will add to the configuration <CONFIG>
, for example, DEBUG
, RELEASE
, MINSIZEREL
, RELWITHDEBINFO
, ...
© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/prop_tgt/LINK_FLAGS.html