summaryrefslogtreecommitdiffstats
path: root/Source/CMakeVersionSource.cmake
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2016-08-22 21:46:01 (GMT)
committerBrad King <brad.king@kitware.com>2016-08-23 13:11:57 (GMT)
commitef13efab56464890f171c2a2142b64b728f4f2e8 (patch)
tree809b0226178de9082783ac0a2872a06c07101e4f /Source/CMakeVersionSource.cmake
parent11e0ceaeab905075d93e279b87470b99c6401929 (diff)
downloadCMake-ef13efab56464890f171c2a2142b64b728f4f2e8.zip
CMake-ef13efab56464890f171c2a2142b64b728f4f2e8.tar.gz
CMake-ef13efab56464890f171c2a2142b64b728f4f2e8.tar.bz2
Version: Remove check for existence of CVS repository
Diffstat (limited to 'Source/CMakeVersionSource.cmake')
-rw-r--r--Source/CMakeVersionSource.cmake7
1 files changed, 0 insertions, 7 deletions
diff --git a/Source/CMakeVersionSource.cmake b/Source/CMakeVersionSource.cmake
index bc5975e..4f22ded 100644
--- a/Source/CMakeVersionSource.cmake
+++ b/Source/CMakeVersionSource.cmake
@@ -29,11 +29,4 @@ if(EXISTS ${CMake_SOURCE_DIR}/.git/HEAD)
endif()
endif()
endif()
-elseif(EXISTS ${CMake_SOURCE_DIR}/CVS/Repository)
- file(READ ${CMake_SOURCE_DIR}/CVS/Repository repo)
- set(branch "")
- if("${repo}" MATCHES "\\.git/([^\r\n]*)")
- set(branch "${CMAKE_MATCH_1}")
- endif()
- set(CMake_VERSION_SOURCE "cvs${branch}")
endif()