mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-06-07 16:47:44 +00:00
Git version fix
This commit is contained in:
parent
2382f72184
commit
7c230e88fe
1 changed files with 3 additions and 1 deletions
|
@ -37,7 +37,9 @@ include( "cmake/compiler.cmake" )
|
|||
##############################
|
||||
include(GetGitRevisionDescription)
|
||||
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"
|
||||
"${SERVER_COMMON_DIR}/Version.cpp" @ONLY)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue