Commit ea654154 authored by Zhiting Zhu's avatar Zhiting Zhu

use cpack to generate deb package

parent 16e57f2b
...@@ -8,6 +8,10 @@ endif() ...@@ -8,6 +8,10 @@ endif()
set(BRPC_VERSION 0.9.0) set(BRPC_VERSION 0.9.0)
SET(CPACK_GENERATOR "DEB")
SET(CPACK_DEBIAN_PACKAGE_MAINTAINER "brpc authors")
INCLUDE(CPack)
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU") if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
# require at least gcc 4.8 # require at least gcc 4.8
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.8) if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.8)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment