summaryrefslogtreecommitdiff
path: root/Modules/CPack.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-02-12 10:27:57 -0500
committerBrad King <brad.king@kitware.com>2020-02-12 10:28:10 -0500
commit3af0b33ec67f97398ad6195237af5d8e5befb664 (patch)
treefa5b98a75ce73688069441c0052297d97433b1c8 /Modules/CPack.cmake
parent59e9f33d78acb3d4e2c0e95e6cf7b43ff587c69c (diff)
downloadcmake-3af0b33ec67f97398ad6195237af5d8e5befb664.tar.gz
Help: module CPack: Make internal hyperlink target more unique
We already have a `.. _targets:` in `Help/command/install.rst`.
Diffstat (limited to 'Modules/CPack.cmake')
-rw-r--r--Modules/CPack.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/CPack.cmake b/Modules/CPack.cmake
index eb08f1c4e2..baf7e47dd8 100644
--- a/Modules/CPack.cmake
+++ b/Modules/CPack.cmake
@@ -16,8 +16,8 @@ run of the :manual:`cpack <cpack(1)>` program where they steer the generation
of installers or/and source packages.
Depending on the CMake generator, the CPack module may also add two new build
-targets, ``package`` and ``package_source``. See the targets_ section below
-for details.
+targets, ``package`` and ``package_source``. See the `packaging targets`_
+section below for details.
The generated binary installers contain everything installed via CMake's
:command:`install` command (and the deprecated commands :command:`install_files`,
@@ -66,7 +66,7 @@ internally to *the one currently being used* and then include the
For a list of available generators, see :manual:`cpack-generators(7)`.
-.. _targets:
+.. _`packaging targets`:
Targets package and package_source
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^