mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-09 23:44:00 +03:00
Version: Remove check for existence of CVS repository
This commit is contained in:
1 parent
11e0ceaeab
commit
ef13efab56
1 file changed
-7
@@ -29,11 +29,4 @@ if(EXISTS ${CMake_SOURCE_DIR}/.git/HEAD)
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
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()
|
endif()
|
||||||
Reference in new issue
Block a user