summaryrefslogtreecommitdiff
path: root/Help/prop_tgt/LINK_FLAGS.rst
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2018-08-15 15:20:18 +0200
committerMarc Chevrier <marc.chevrier@gmail.com>2018-08-15 15:20:18 +0200
commit974de0e19932d27576a5c7661905f75b2b8daaa9 (patch)
tree4d66d41907b6425c789e8b4fce64e52290817e0e /Help/prop_tgt/LINK_FLAGS.rst
parent349f8bfb25349892fb2c4e5a9942e4bd63f86f49 (diff)
downloadcmake-974de0e19932d27576a5c7661905f75b2b8daaa9.tar.gz
static library: add property STATIC_LIBRARY_OPTIONS
issue: #18251
Diffstat (limited to 'Help/prop_tgt/LINK_FLAGS.rst')
-rw-r--r--Help/prop_tgt/LINK_FLAGS.rst9
1 files changed, 5 insertions, 4 deletions
diff --git a/Help/prop_tgt/LINK_FLAGS.rst b/Help/prop_tgt/LINK_FLAGS.rst
index 3a344e65cc..92cd3c0a5b 100644
--- a/Help/prop_tgt/LINK_FLAGS.rst
+++ b/Help/prop_tgt/LINK_FLAGS.rst
@@ -3,11 +3,12 @@ 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
-:prop_tgt:`STATIC_LIBRARY_FLAGS`.
+:prop_tgt:`STATIC_LIBRARY_OPTIONS` or :prop_tgt:`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. :prop_tgt:`LINK_FLAGS_<CONFIG>` will add to the
-configuration ``<CONFIG>``, for example, ``DEBUG``, ``RELEASE``,
+The ``LINK_FLAGS`` property, managed as a string, can be used to add extra
+flags to the link step of a target. :prop_tgt:`LINK_FLAGS_<CONFIG>` will add
+to the configuration ``<CONFIG>``, for example, ``DEBUG``, ``RELEASE``,
``MINSIZEREL``, ``RELWITHDEBINFO``, ...
.. note::