- cmake bugfix for proper consistent order of build version info so windows and linux are the same

This commit is contained in:
SoftCoder 2013-12-25 00:25:57 -08:00
parent f06d474b60
commit a6b02a598b
1 changed files with 1 additions and 1 deletions

View File

@ -219,7 +219,7 @@ IF(CMAKE_COMPILER_IS_GNUCXX OR MINGW)
OUTPUT_STRIP_TRAILING_WHITESPACE
)
SET(GIT_LIVE_REV_CMD "`git log -1 --format=%h`.`git rev-list HEAD --count`")
SET(GIT_LIVE_REV_CMD "`git rev-list HEAD --count`.`git log -1 --format=%h`")
MESSAGE(STATUS "Using GIT revision stamp: [${GIT_COMMIT_COUNT}.${GIT_SHA1}] CMD [${GIT_LIVE_REV_CMD}]")