mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-21 21:17:19 +00:00
[version.cmake] Add reminder to synchronize git-describe with docs/lgrelease.py
This commit is contained in:
parent
142902b7b3
commit
aa5922a1b4
@ -2,6 +2,7 @@ if (EXISTS ${PROJECT_TOP}/VERSION)
|
|||||||
file(READ ${PROJECT_TOP}/VERSION GIT_REV)
|
file(READ ${PROJECT_TOP}/VERSION GIT_REV)
|
||||||
else()
|
else()
|
||||||
execute_process(
|
execute_process(
|
||||||
|
# Synchronize docs/lgrelease.py if updated
|
||||||
COMMAND git describe --always --abbrev=10 --dirty=+ --tags
|
COMMAND git describe --always --abbrev=10 --dirty=+ --tags
|
||||||
WORKING_DIRECTORY "${PROJECT_TOP}"
|
WORKING_DIRECTORY "${PROJECT_TOP}"
|
||||||
OUTPUT_VARIABLE GIT_REV
|
OUTPUT_VARIABLE GIT_REV
|
||||||
|
Loading…
Reference in New Issue
Block a user