mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-24 04:15:11 +00:00
cmake: Always use long git describe
This commit is contained in:
parent
26a76e0451
commit
e59a33423e
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/.git")
|
|||
set(GIT_ERROR)
|
||||
|
||||
execute_process(
|
||||
COMMAND "${GIT}" describe --tags --match "[0-9]*.[0-9]*.[0-9]*" --abbrev=8 HEAD
|
||||
COMMAND "${GIT}" describe --tags --long --match "[0-9]*.[0-9]*.[0-9]*" --abbrev=8 HEAD
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}
|
||||
RESULT_VARIABLE GIT_RESULT
|
||||
OUTPUT_VARIABLE GIT_OUTPUT
|
||||
|
|
Loading…
Reference in a new issue