diff options
author | Eshenko Dmitriy <snooppy@mail.ua> | 2020-03-22 15:35:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-22 15:35:11 +0300 |
commit | c983d6f0763c572f656590b3ce74614c3ccbc276 (patch) | |
tree | 395c864cc73d751862fabf3bd170d5e5e04b569e /cmake | |
parent | 7afe0f075676219ab4b9e8dbfed294992e9f360b (diff) | |
parent | 1fa099d818eaee2a4fb3b818ada110f2465ace79 (diff) | |
download | accel-ppp-c983d6f0763c572f656590b3ce74614c3ccbc276.tar.gz accel-ppp-c983d6f0763c572f656590b3ce74614c3ccbc276.zip |
Merge pull request #1 from c-po/version-number-improvements
Version number improvements
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/cpack.cmake | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/cmake/cpack.cmake b/cmake/cpack.cmake index 0f270cf8..ffb53954 100644 --- a/cmake/cpack.cmake +++ b/cmake/cpack.cmake @@ -1,12 +1,13 @@ INCLUDE(InstallRequiredSystemLibraries) -SET(CPACK_PACKAGE_VERSION_MAJOR "1") -SET(CPACK_PACKAGE_VERSION_MINOR "12") -SET(CPACK_PACKAGE_VERSION_PATCH "0") +string(REPLACE "." ";" VERSION_LIST ${ACCEL_PPP_VERSION}) +list(GET VERSION_LIST 0 CPACK_PACKAGE_VERSION_MAJOR) +list(GET VERSION_LIST 1 CPACK_PACKAGE_VERSION_MINOR) +list(GET VERSION_LIST 2 CPACK_PACKAGE_VERSION_PATCH) SET(CPACK_PACKAGE_NAME "accel-ppp") SET(CPACK_PACKAGE_CONTACT "Dmitry Kozlov <xeb@mail.ru>") -SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "PPtP/L2TP/PPPoE server for Linux") +SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "PPtP/L2TP/PPPoE/SSTP server for Linux") SET(CPACK_PACKAGE_VENDOR "Dmitry Kozlov") SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README") |