aboutsummaryrefslogtreecommitdiff
path: root/cmake/GitVersion.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/GitVersion.cmake')
-rw-r--r--cmake/GitVersion.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/GitVersion.cmake b/cmake/GitVersion.cmake
index c9c6159..005667d 100644
--- a/cmake/GitVersion.cmake
+++ b/cmake/GitVersion.cmake
@@ -15,7 +15,7 @@ function(get_version_from_git)
endif()
execute_process(
- COMMAND ${GIT_EXECUTABLE} describe --first-parent --long --dirty --tags --always
+ COMMAND ${GIT_EXECUTABLE} describe --long --dirty --tags --always
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
OUTPUT_VARIABLE GIT_TAG
OUTPUT_STRIP_TRAILING_WHITESPACE