CMake/Help/variable/CPACK_PACKAGING_INSTALL_PREFIX.rst
James Johnston 3bb707f0a1 Help: Improve formatting of variable documentation
Improve formatting, primarily by:

* Adding links to relevant commands, properties, generators, and so on.
* Converting code, symbols, paths, and so on to fixed-width fonts.
* Hard wrapping lines to 80 characters or less.
2015-08-21 09:32:08 -04:00

16 lines
503 B
ReStructuredText

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 :manual:`cpack(1)`
command line by setting an alternative value. Example:
::
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.