mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-04 09:44:16 +00:00
[version.cmake] Add reminder to synchronize git-describe with docs/lgrelease.py
This commit is contained in:

committed by
Geoffrey McRae

parent
142902b7b3
commit
aa5922a1b4
@@ -2,6 +2,7 @@ if (EXISTS ${PROJECT_TOP}/VERSION)
|
||||
file(READ ${PROJECT_TOP}/VERSION GIT_REV)
|
||||
else()
|
||||
execute_process(
|
||||
# Synchronize docs/lgrelease.py if updated
|
||||
COMMAND git describe --always --abbrev=10 --dirty=+ --tags
|
||||
WORKING_DIRECTORY "${PROJECT_TOP}"
|
||||
OUTPUT_VARIABLE GIT_REV
|
||||
|
Reference in New Issue
Block a user