2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 22:55:11 +00:00

Fix Nix build

This commit is contained in:
Eric Kotato
2024-07-01 01:11:50 +03:00
parent 7493e78c7a
commit a592b57dde

View File

@@ -1792,6 +1792,7 @@ PRIVATE
execute_process(
COMMAND git describe --tags --always
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
OUTPUT_VARIABLE KTGDESKTOP_GIT_VERSION
)
string(REGEX REPLACE "^(k|v)([0-9]\\.[0-9])" "\\2" KTGDESKTOP_GIT_VERSION "${KTGDESKTOP_GIT_VERSION}")