Skip to content

Commit

Permalink
Fix length
Browse files Browse the repository at this point in the history
  • Loading branch information
tresf committed Feb 11, 2025
1 parent 5c70437 commit e0bdf3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/modules/VersionInfo.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ IF(GIT_FOUND AND NOT FORCE_VERSION)
OUTPUT_STRIP_TRAILING_WHITESPACE)
# If successful, use the first 7 characters to mimic github's hash style
if(COMMIT_HASH)
string(SUBSTRING "${COMMIT_HASH}" 0 6 COMMIT_HASH)
string(SUBSTRING "${COMMIT_HASH}" 0 7 COMMIT_HASH)
endif()
endif()

Expand Down

0 comments on commit e0bdf3d

Please sign in to comment.