summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Eshenko <dmitriy.eshenko@accel-ppp.org>2023-06-09 19:49:20 +0300
committerDmitriy Eshenko <dmitriy.eshenko@accel-ppp.org>2023-06-09 19:56:00 +0300
commitefb533508b9caf6e2e389103a96a1ce3ef6b7c89 (patch)
tree24d7c4d4179c64a8fa5ae48f3e9911741725d205
parent6df439595309bdffdc0dd4c1d2b4dc7bc2968bce (diff)
downloadaccel-ppp-efb533508b9caf6e2e389103a96a1ce3ef6b7c89.tar.gz
accel-ppp-efb533508b9caf6e2e389103a96a1ce3ef6b7c89.zip
Update cpack.cmake
Use real version instad of "gitgitgit"
-rw-r--r--cmake/cpack.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/cpack.cmake b/cmake/cpack.cmake
index 81bc714..3c4af72 100644
--- a/cmake/cpack.cmake
+++ b/cmake/cpack.cmake
@@ -6,7 +6,7 @@ string(REPLACE "." ";" VERSION_LIST ${ACCEL_PPP_VERSION})
# If not assign dummy variables
list(LENGTH VERSION_LIST VERSION_LIST_LENGTH)
if(NOT VERSION_LIST_LENGTH EQUAL 3)
- set(VERSION_LIST git;git;git)
+ set(VERSION_LIST 1;12;0)
endif()
list(GET VERSION_LIST 0 CPACK_PACKAGE_VERSION_MAJOR)
list(GET VERSION_LIST 1 CPACK_PACKAGE_VERSION_MINOR)