Skip to content

Commit

Permalink
Issue #465: cmake: Use --always to allow git describe without tags
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonKagstrom committed Sep 23, 2024
1 parent 57be68f commit 3d57339
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ if (EXISTS "${CMAKE_SOURCE_DIR}/.git")
execute_process (COMMAND "${GIT_EXECUTABLE}"
"--git-dir=${CMAKE_SOURCE_DIR}/.git"
describe
--always
--abbrev=4
--tags
HEAD
Expand Down

0 comments on commit 3d57339

Please sign in to comment.