add files to build packages

This commit is contained in:
arcan1s
2015-08-16 15:27:19 +03:00
parent c244166016
commit 4300e1d18a
3 changed files with 43 additions and 1 deletions

View File

@ -21,6 +21,9 @@ message (STATUS "Project: ${PROJECT_NAME}")
message (STATUS "Version: ${PROJECT_VERSION}")
message (STATUS "Build date: ${CURRENT_DATE}")
option(BUILD_DEB_PACKAGE "Build deb package" OFF)
option(BUILD_RPM_PACKAGE "Build rpm package" OFF)
# flags
if (CMAKE_COMPILER_IS_GNUCXX)
set (CMAKE_CXX_FLAGS "-Wall -Wno-cpp -std=c++11")
@ -41,3 +44,5 @@ add_subdirectory (desktop-panel)
# translations
add_subdirectory (translations)
include(packages-recipe.cmake)