Update CPackLists.txt

This commit is contained in:
Kjell Hedström 2017-03-30 01:48:35 -06:00 committed by GitHub
parent 66a3d5ec0f
commit 71ad664646

View File

@ -19,7 +19,7 @@ SET(MAJOR_VERSION 1)
IF (NOT DEFINED ${VERSION})
MESSAGE("Extracting git software version")
execute_process(COMMAND bash "-c" "git rev-list --branches HEAD | wc -l | tr -d ' ' | tr -d '\n'" OUTPUT_VARIABLE GIT_VERSION)
SET(MINOR_VERSION 2)
SET(MINOR_VERSION 3)
SET(BUILD_NUMBER ${GIT_VERSION})
SET(VERSION ${MAJOR_VERSION}.${MINOR_VERSION}.${BUILD_NUMBER})
ENDIF()