summaryrefslogtreecommitdiff
path: root/share/cmake-3.2/Help/variable/CPACK_PACKAGING_INSTALL_PREFIX.rst
blob: f9cfa1b88fe1ddf5993b299e537781f5532fab34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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.

e.g.  set(CPACK_PACKAGING_INSTALL_PREFIX "/opt")

This is not the same purpose as CMAKE_INSTALL_PREFIX which is used
when installing from the build tree without building a package.