mirror of
https://github.com/KjellKod/g3log.git
synced 2024-12-13 10:42:56 +01:00
Update CPackLists.txt
This commit is contained in:
parent
66a3d5ec0f
commit
71ad664646
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user