mirror of
https://github.com/KjellKod/g3log.git
synced 2024-12-12 10:23:50 +01:00
cpack version number (#376)
* cpack version number. Build number must be set since it's used by CPACK
This commit is contained in:
parent
69a0be4c9c
commit
83737bbb8f
@ -88,10 +88,8 @@ IF ( NOT VERSION )
|
||||
message( STATUS "git build version: ${GIT_VERSION}" )
|
||||
message( STATUS "version base: ${VERSION-BASE}" )
|
||||
message( STATUS "version remainder: ${VERSION-REMAINDER}" )
|
||||
# SET(BUILD_NUMBER ${GIT_VERSION})
|
||||
#SET(BUILD_NUMBER ${VERSION-BASE})
|
||||
#SET(VERSION ${MAJOR_VERSION}.${MINOR_VERSION}.${BUILD_NUMBER}-${VERSION-REMAINDER})
|
||||
SET(VERSION ${MAJOR_VERSION}.${MINOR_VERSION}.${GIT_VERSION})
|
||||
SET(BUILD_NUMBER ${VERSION-BASE})
|
||||
SET(VERSION ${MAJOR_VERSION}.${MINOR_VERSION}.${BUILD_NUMBER}-${VERSION-REMAINDER})
|
||||
ENDIF()
|
||||
message( STATUS "Software Version: ${VERSION}" )
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user