diff options
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/Modules/GrVersion.cmake | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/cmake/Modules/GrVersion.cmake b/cmake/Modules/GrVersion.cmake index ed8fabddd..666c6f126 100644 --- a/cmake/Modules/GrVersion.cmake +++ b/cmake/Modules/GrVersion.cmake @@ -56,24 +56,6 @@ find_package(Git) #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") |