https://github.com/Kitware/CMake
Raw File
Tip revision: 6d01a8e004c5faf2d0b2c3b7c0645ce3726181b6 authored by Brad King on 30 September 2019, 18:01:30 UTC
CMake 3.14.7
Tip revision: 6d01a8e
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