Compress rpm packages with lzma.
This commit is contained in:
parent
b6f2c79d5c
commit
3fec653cea
|
@ -53,6 +53,7 @@ if (UNIX AND NOT MINGW)
|
|||
set(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA "${CMAKE_CURRENT_SOURCE_DIR}/scripts/postinst.sh")
|
||||
set(CPACK_RPM_POST_INSTALL_SCRIPT_FILE ${CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA})
|
||||
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)
|
||||
set(CPACK_RPM_COMPRESSION_TYPE lzma)
|
||||
set(CPACK_RPM_PACKAGE_AUTOREQ YES)
|
||||
set(CPACK_RPM_PACKAGE_LICENSE "MPL-2.0")
|
||||
set(CPACK_RPM_PACKAGE_VERSION ${PROJECT_VERSION})
|
||||
|
|
Loading…
Reference in New Issue