summaryrefslogtreecommitdiff
path: root/Modules/CPack.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-07-09 10:50:56 +0000
committerKitware Robot <kwrobot@kitware.com>2020-07-09 06:51:01 -0400
commited9b60e89e8d1d0879e3956d5dd75f2d39ba4940 (patch)
tree308c1b419694f7b25fc11a8e978d9526c7f628cc /Modules/CPack.cmake
parent1d0452fd3e399674ca9bb977f362379e4cd8a8f8 (diff)
parentca9bd43f2da4226a3bfbe89b11ba8533d976b4e3 (diff)
downloadcmake-ed9b60e89e8d1d0879e3956d5dd75f2d39ba4940.tar.gz
Merge topic 'cpack2'
ca9bd43f2d Help: Duplicate essential information on install paths in CPack. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4987
Diffstat (limited to 'Modules/CPack.cmake')
-rw-r--r--Modules/CPack.cmake10
1 files changed, 7 insertions, 3 deletions
diff --git a/Modules/CPack.cmake b/Modules/CPack.cmake
index 670a5e1b85..532e368d7b 100644
--- a/Modules/CPack.cmake
+++ b/Modules/CPack.cmake
@@ -22,9 +22,13 @@ section below for details.
The generated binary installers will contain all files that have been installed
via CMake's :command:`install` command (and the deprecated commands
:command:`install_files`, :command:`install_programs`, and
-:command:`install_targets`). Certain kinds of binary installers can be
-configured such that users can select individual application components to
-install. See the :module:`CPackComponent` module for further details.
+:command:`install_targets`). Note that the ``DESTINATION`` option of the
+:command:`install` command must be a relative path; otherwise installed files
+are ignored by CPack.
+
+Certain kinds of binary installers can be configured such that users can select
+individual application components to install. See the :module:`CPackComponent`
+module for further details.
Source packages (configured through ``CPackSourceConfig.cmake`` and generated
by the :cpack_gen:`CPack Archive Generator`) will contain all source files in