summaryrefslogtreecommitdiff
path: root/distribution/posix/package.txt
blob: a4e925e13796907494f925842ed74a98dcedb2e3 (plain)
1
2
3
4
5
6
7
8
IF(CPACK_GENERATOR STREQUAL "TGZ" OR CPACK_GENERATOR STREQUAL "TBZ2")
    set(CPACK_PACKAGING_INSTALL_PREFIX "")
ELSEIF (CPACK_GENERATOR STREQUAL "RPM" )
    set(CPACK_PACKAGING_INSTALL_PREFIX ${CPACK_INSTALL_PREFIX})
ELSEIF (CPACK_GENERATOR STREQUAL "STGZ")
    set(CPACK_PACKAGING_INSTALL_PREFIX "")
ENDIF()