Skip to content
Snippets Groups Projects
Verified Commit db12be3e authored by Lars Bilke's avatar Lars Bilke
Browse files

[cmake] Make OGS_VERSION conistent with wheel version (8 digits hash).

parent e629fc30
No related branches found
No related tags found
No related merge requests found
...@@ -72,6 +72,7 @@ if(_IS_GIT_REPO AND NOT OGS_VERSION) ...@@ -72,6 +72,7 @@ if(_IS_GIT_REPO AND NOT OGS_VERSION)
# https://github.com/tomtom-international/cpp-dependencies # https://github.com/tomtom-international/cpp-dependencies
execute_process( execute_process(
COMMAND ${GIT_EXECUTABLE} describe --tags --long --dirty --always COMMAND ${GIT_EXECUTABLE} describe --tags --long --dirty --always
--abbrev=8
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
RESULT_VARIABLE DESCRIBE_RESULT RESULT_VARIABLE DESCRIBE_RESULT
OUTPUT_VARIABLE DESCRIBE_STDOUT OUTPUT_VARIABLE DESCRIBE_STDOUT
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment