https://github.com/Kitware/CMake
Raw File
Tip revision: d203761520f5dd21a9cc4de5c4ca0d0e4e188e34 authored by Brad King on 18 February 2016, 15:41:26 UTC
CMake 3.5.0-rc3
Tip revision: d203761
CPACK_PACKAGING_INSTALL_PREFIX.rst
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.
back to top