Fix Nix build
This commit is contained in:
parent
7493e78c7a
commit
a592b57dde
1 changed files with 1 additions and 0 deletions
|
|
@ -1792,6 +1792,7 @@ PRIVATE
|
||||||
|
|
||||||
execute_process(
|
execute_process(
|
||||||
COMMAND git describe --tags --always
|
COMMAND git describe --tags --always
|
||||||
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
OUTPUT_VARIABLE KTGDESKTOP_GIT_VERSION
|
OUTPUT_VARIABLE KTGDESKTOP_GIT_VERSION
|
||||||
)
|
)
|
||||||
string(REGEX REPLACE "^(k|v)([0-9]\\.[0-9])" "\\2" KTGDESKTOP_GIT_VERSION "${KTGDESKTOP_GIT_VERSION}")
|
string(REGEX REPLACE "^(k|v)([0-9]\\.[0-9])" "\\2" KTGDESKTOP_GIT_VERSION "${KTGDESKTOP_GIT_VERSION}")
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue