summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorTom Rondeau2011-10-23 21:10:59 -0400
committerTom Rondeau2011-10-23 21:10:59 -0400
commitc63bb2453d9d0e0fc63de9eb9ce54249abacedd1 (patch)
tree99160f950c7ae2b27145525cdf4c7b602d2c944d /cmake
parent469cb5fd92ca7d1899e64b011d371f04e8830911 (diff)
parent9b58dc91c0bf5a87128a24d8e22a8e19aa974c9f (diff)
downloadgnuradio-c63bb2453d9d0e0fc63de9eb9ce54249abacedd1.tar.gz
gnuradio-c63bb2453d9d0e0fc63de9eb9ce54249abacedd1.tar.bz2
gnuradio-c63bb2453d9d0e0fc63de9eb9ce54249abacedd1.zip
Merge branch 'master' of gnuradio.org:gnuradio
Diffstat (limited to '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 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")