mirror of
https://github.com/swaywm/sway.git
synced 2025-11-04 13:29:52 -05:00
Merge pull request #749 from Hummer12007/patch-2
Enable using non-annotated tags in git-describe
This commit is contained in:
commit
dff1e7f91b
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ list(INSERT CMAKE_MODULE_PATH 0
|
|||
)
|
||||
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.git)
|
||||
execute_process(
|
||||
COMMAND git describe --always
|
||||
COMMAND git describe --always --tags
|
||||
OUTPUT_VARIABLE GIT_COMMIT_HASH
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue