• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1CPACK_PACKAGING_INSTALL_PREFIX
2------------------------------
3
4The prefix used in the built package.
5
6Each CPack generator has a default value (like ``/usr``).  This default
7value may be overwritten from the ``CMakeLists.txt`` or the :manual:`cpack(1)`
8command line by setting an alternative value.  Example:
9
10::
11
12  set(CPACK_PACKAGING_INSTALL_PREFIX "/opt")
13
14This is not the same purpose as :variable:`CMAKE_INSTALL_PREFIX` which is used
15when installing from the build tree without building a package.
16