summaryrefslogtreecommitdiff
path: root/cmake/Modules/GrVersion.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/Modules/GrVersion.cmake')
-rw-r--r--cmake/Modules/GrVersion.cmake18
1 files changed, 0 insertions, 18 deletions
diff --git a/cmake/Modules/GrVersion.cmake b/cmake/Modules/GrVersion.cmake
index 16338f143..7baa8eabb 100644
--- a/cmake/Modules/GrVersion.cmake
+++ b/cmake/Modules/GrVersion.cmake
@@ -56,24 +56,6 @@ else()
endif()
########################################################################
-# Parse the git describe string (currently unused)
-########################################################################
-unset(GIT_TAG)
-unset(GIT_SEQNO)
-unset(GIT_COMMIT)
-
-if(GIT_DESCRIBE)
- execute_process(
- COMMAND ${PYTHON_EXECUTABLE} -c
- "import re; print ';'.join(re.match('^v(.*)-(.*)-\\w(.*)$', '${GIT_DESCRIBE}').groups())"
- OUTPUT_VARIABLE GIT_DESCRIBES OUTPUT_STRIP_TRAILING_WHITESPACE
- )
- list(GET GIT_DESCRIBES 0 GIT_TAG)
- list(GET GIT_DESCRIBES 1 GIT_SEQNO)
- list(GET GIT_DESCRIBES 2 GIT_COMMIT)
-endif(GIT_DESCRIBE)
-
-########################################################################
# Use the logic below to set the version constants
########################################################################
if("${MINOR_VERSION}" STREQUAL "git")