mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
CMake
- added sha1 of git commit to task diag
This commit is contained in:
parent
e28d03df82
commit
022b219c0f
3 changed files with 14 additions and 0 deletions
|
@ -4,6 +4,13 @@ include (CheckFunctionExists)
|
|||
project (task)
|
||||
set (PROJECT_VERSION "1.9.4")
|
||||
|
||||
if (EXISTS .git/index)
|
||||
set (HAVE_COMMIT true)
|
||||
execute_process (COMMAND git log -1 --pretty=format:%h
|
||||
OUTPUT_VARIABLE COMMIT)
|
||||
endif (EXISTS .git/index)
|
||||
|
||||
|
||||
set (PACKAGE "${PROJECT_NAME}")
|
||||
set (VERSION "${PROJECT_VERSION}")
|
||||
set (PACKAGE_BUGREPORT "support@taskwarrior.org")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue