summaryrefslogtreecommitdiffstats
path: root/Help/variable/CPACK_PACKAGING_INSTALL_PREFIX.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/variable/CPACK_PACKAGING_INSTALL_PREFIX.rst')
-rw-r--r--Help/variable/CPACK_PACKAGING_INSTALL_PREFIX.rst12
1 files changed, 7 insertions, 5 deletions
diff --git a/Help/variable/CPACK_PACKAGING_INSTALL_PREFIX.rst b/Help/variable/CPACK_PACKAGING_INSTALL_PREFIX.rst
index f9cfa1b..f423e2e 100644
--- a/Help/variable/CPACK_PACKAGING_INSTALL_PREFIX.rst
+++ b/Help/variable/CPACK_PACKAGING_INSTALL_PREFIX.rst
@@ -3,11 +3,13 @@ CPACK_PACKAGING_INSTALL_PREFIX
The prefix used in the built package.
-Each CPack generator has a default value (like /usr). This default
-value may be overwritten from the CMakeLists.txt or the cpack command
-line by setting an alternative value.
+Each CPack generator has a default value (like ``/usr``). This default
+value may be overwritten from the ``CMakeLists.txt`` or the :manual:`cpack(1)`
+command line by setting an alternative value. Example:
-e.g. set(CPACK_PACKAGING_INSTALL_PREFIX "/opt")
+::
-This is not the same purpose as CMAKE_INSTALL_PREFIX which is used
+ set(CPACK_PACKAGING_INSTALL_PREFIX "/opt")
+
+This is not the same purpose as :variable:`CMAKE_INSTALL_PREFIX` which is used
when installing from the build tree without building a package.