mirror of
https://github.com/cosmo-sims/monofonIC.git
synced 2024-09-20 18:13:44 +02:00
add git descr instead of tag in versioning output
This commit is contained in:
parent
14e179ba56
commit
e317509e06
1 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ else()
|
|||
COMMAND bash -c "git diff --quiet --exit-code || echo +"
|
||||
OUTPUT_VARIABLE GIT_DIFF)
|
||||
execute_process(
|
||||
COMMAND git describe --exact-match --tags
|
||||
COMMAND git describe #--exact-match --tags
|
||||
OUTPUT_VARIABLE GIT_TAG ERROR_QUIET)
|
||||
execute_process(
|
||||
COMMAND git rev-parse --abbrev-ref HEAD
|
||||
|
@ -48,4 +48,4 @@ endif()
|
|||
|
||||
if (NOT "${VERSION}" STREQUAL "${VERSION_}")
|
||||
file(WRITE ${CMAKE_CURRENT_SOURCE_DIR}/version.cc "${VERSION}")
|
||||
endif()
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue