CPACK_PACKAGING_INSTALL_PREFIX.rst 460 B

12345678910111213
  1. CPACK_PACKAGING_INSTALL_PREFIX
  2. ------------------------------
  3. The prefix used in the built package.
  4. Each CPack generator has a default value (like /usr). This default
  5. value may be overwritten from the CMakeLists.txt or the cpack command
  6. line by setting an alternative value.
  7. e.g. set(CPACK_PACKAGING_INSTALL_PREFIX "/opt")
  8. This is not the same purpose as CMAKE_INSTALL_PREFIX which is used
  9. when installing from the build tree without building a package.