Skip to content

Commit

Permalink
buildsys: Fix version tag formatting not accepted by regex.
Browse files Browse the repository at this point in the history
  • Loading branch information
heinezen committed Oct 17, 2023
1 parent ded806b commit 296dd91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildsystem/DetectProjectVersion.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ endif()
if(IS_DIRECTORY "${CMAKE_SOURCE_DIR}/.git")
message(STATUS "Set PROJECT_VERSION from git.")
execute_process(
COMMAND git describe --tags
COMMAND git describe --tags --long
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
RESULT_VARIABLE _RES
OUTPUT_VARIABLE PROJECT_VERSION
Expand Down

0 comments on commit 296dd91

Please sign in to comment.