Set the debian package dependencies manually.
This commit is contained in:
parent
82f65e5da5
commit
b8df9df2e9
|
@ -54,7 +54,7 @@ if (UNIX AND NOT MINGW)
|
|||
set(CPACK_TOPLEVEL_TAG "Linux-${CMAKE_CXX_COMPILER_ARCHITECTURE_ID}")
|
||||
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_DEBIAN_PACKAGE_DEPENDS "libc6 (>= 2.14), libstdc++6 (>= 9)")
|
||||
set(CPACK_DEBIAN_COMPRESSION_TYPE lzma)
|
||||
set(CPACK_RPM_COMPRESSION_TYPE lzma)
|
||||
set(CPACK_RPM_PACKAGE_AUTOREQ YES)
|
||||
|
|
Loading…
Reference in New Issue