Added a version id, the current git hash
This commit is contained in:
parent
a05df4d541
commit
04763de733
@ -1,9 +1,8 @@
|
||||
find_package(Git)
|
||||
|
||||
if (GIT_FOUND)
|
||||
message("Found git !")
|
||||
execute_process(
|
||||
COMMAND ${GIT_EXECUTABLE} describe --tags --allways
|
||||
COMMAND ${GIT_EXECUTABLE} describe --tags --always
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
||||
OUTPUT_VARIABLE ENGINE_VERSION
|
||||
RESULT_VARIABLE GIT_DESCRIBE_ERROR_CODE
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user