diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2011-01-18 20:21:48 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2011-01-18 20:21:48 +0300 |
commit | 2742af0f2760b7b8d326aa4112aac14b453e3bbb (patch) | |
tree | ad49eb62da5a5521a18200449c4a9c24277ef657 /cmake/cpack.cmake | |
parent | f350fd852cd4870c72736cba154153cfad4ceea9 (diff) | |
download | accel-ppp-2742af0f2760b7b8d326aa4112aac14b453e3bbb.tar.gz accel-ppp-2742af0f2760b7b8d326aa4112aac14b453e3bbb.zip |
updated build system
Diffstat (limited to 'cmake/cpack.cmake')
-rw-r--r-- | cmake/cpack.cmake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cmake/cpack.cmake b/cmake/cpack.cmake index 950c6f5..3de94d7 100644 --- a/cmake/cpack.cmake +++ b/cmake/cpack.cmake @@ -13,7 +13,13 @@ SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README") SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING") IF(CPACK_TYPE STREQUAL Debian) + SET(CPACK_DEBIAN_PACKAGE_DEPENDS "libc6 (>= 2.7), libssl0.9.8 (>= 0.9.8), libpcre3 (>= 7.6)") INCLUDE(${CMAKE_HOME_DIRECTORY}/cmake/debian/debian.cmake) ENDIF(CPACK_TYPE STREQUAL Debian) +IF(CPACK_TYPE STREQUAL Ubuntu) + SET(CPACK_DEBIAN_PACKAGE_DEPENDS "libc6 (>= 2.12.1), libssl0.9.8 (>= 0.9.8), libpcre3 (>= 8.02), libnl2 (>= 1.99)") + INCLUDE(${CMAKE_HOME_DIRECTORY}/cmake/debian/debian.cmake) +ENDIF(CPACK_TYPE STREQUAL Ubuntu) + INCLUDE(CPack) |