Skip to content

Commit

Permalink
打包时也使用WIZNOTE_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
robberphex committed Apr 13, 2017
1 parent 5edde6f commit 136358e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ endif(APPLE)

set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")

set(CPACK_PACKAGE_VERSION 2.5.0)
set(CPACK_PACKAGE_VERSION "${WIZNOTE_VERSION}")
set(CPACK_GENERATOR "RPM;DEB")
set(CPACK_PACKAGE_NAME "wiznote")
set(CPACK_PACKAGE_CONTACT "Jhon")
set(CPACK_PACKAGE_CONTACT "[email protected]")
set(CPACK_PACKAGE_RELEASE 1)
set(CPACK_RPM_PACKAGE_LICENSE "GPLv3")
set(CPACK_RPM_PACKAGE_GROUP "Application")
set(CPACK_PACKAGING_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX})
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "WizNote is a cross platform cloud based note-taking application.")
set(CPACK_RPM_PACKAGE_LICENSE "GPLv3")
set(CPACK_RPM_PACKAGE_GROUP "Application")
set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-${CPACK_PACKAGE_RELEASE}.${CMAKE_SYSTEM_PROCESSOR}")

include(CPack)
Expand Down

0 comments on commit 136358e

Please sign in to comment.