mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-28 23:27:45 +00:00
Git version fix
This commit is contained in:
parent
0f3f51c304
commit
e48a8c8e39
1 changed files with 3 additions and 1 deletions
|
@ -37,7 +37,9 @@ include( "cmake/compiler.cmake" )
|
||||||
##############################
|
##############################
|
||||||
include(GetGitRevisionDescription)
|
include(GetGitRevisionDescription)
|
||||||
get_git_head_revision(GIT_REFSPEC GIT_SHA1)
|
get_git_head_revision(GIT_REFSPEC GIT_SHA1)
|
||||||
git_describe(VERSION --tags --dirty=-d)
|
git_describe(VERSION --all --dirty=-d)
|
||||||
|
message(${GIT_REFSPEC})
|
||||||
|
message(${VERSION})
|
||||||
configure_file("${SERVER_COMMON_DIR}/Version.cpp.in"
|
configure_file("${SERVER_COMMON_DIR}/Version.cpp.in"
|
||||||
"${SERVER_COMMON_DIR}/Version.cpp" @ONLY)
|
"${SERVER_COMMON_DIR}/Version.cpp" @ONLY)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue