diff options
author | Joachim Wuttke (h) <j.wuttke@fz-juelich.de> | 2020-07-08 12:58:20 (GMT) |
---|---|---|
committer | Joachim Wuttke (h) <j.wuttke@fz-juelich.de> | 2020-07-08 12:59:01 (GMT) |
commit | ca9bd43f2da4226a3bfbe89b11ba8533d976b4e3 (patch) | |
tree | e1a8aa44cf4047007de2906557800e60d1153abe /Modules/CPack.cmake | |
parent | 9692931f8376c47ea335c90f3544e281ddc4ca8d (diff) | |
download | CMake-ca9bd43f2da4226a3bfbe89b11ba8533d976b4e3.zip CMake-ca9bd43f2da4226a3bfbe89b11ba8533d976b4e3.tar.gz CMake-ca9bd43f2da4226a3bfbe89b11ba8533d976b4e3.tar.bz2 |
Help: Duplicate essential information on install paths in CPack.
Diffstat (limited to 'Modules/CPack.cmake')
-rw-r--r-- | Modules/CPack.cmake | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Modules/CPack.cmake b/Modules/CPack.cmake index 553b966..eba4e71 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 |