diff options
author | Brad King <brad.king@kitware.com> | 2012-03-02 15:24:43 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-03-02 15:24:43 (GMT) |
commit | 9012be20c526445e0d2e2ca6878308bb88dba9cf (patch) | |
tree | 47000aa0c420b7b3a51a42b1c7b289ae5404e2f8 /Tests/CMakeTests/CMakeLists.txt | |
parent | 26519d591ea28d3f26f34c625c2d57db6f302d63 (diff) | |
download | CMake-9012be20c526445e0d2e2ca6878308bb88dba9cf.zip CMake-9012be20c526445e0d2e2ca6878308bb88dba9cf.tar.gz CMake-9012be20c526445e0d2e2ca6878308bb88dba9cf.tar.bz2 |
CheckSourceTree: Remove CVS checkout support (#13001)
We no longer support CVS checkouts from the Git repository.
Drop the case from the CheckSourceTree test. This will also
prevent the test from running and failing when CVS is found
but Git is not.
Diffstat (limited to 'Tests/CMakeTests/CMakeLists.txt')
-rw-r--r-- | Tests/CMakeTests/CMakeLists.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Tests/CMakeTests/CMakeLists.txt b/Tests/CMakeTests/CMakeLists.txt index fc1426e..e473c42 100644 --- a/Tests/CMakeTests/CMakeLists.txt +++ b/Tests/CMakeTests/CMakeLists.txt @@ -55,14 +55,13 @@ AddCMakeTest(GetPrerequisites "${GetPrerequisites_PreArgs}") # suite. It detects if any changes have been made to the CMake source tree # by any previous configure, build or test steps. # -if(do_cvs_tests OR GIT_EXECUTABLE) +if(GIT_EXECUTABLE) string(REPLACE "\\" "/" ENV_HOME "$ENV{HOME}") set(CheckSourceTree_PreArgs "-DCMake_BINARY_DIR:PATH=${CMake_BINARY_DIR}" "-DCMake_SOURCE_DIR:PATH=${CMake_SOURCE_DIR}" - "-DCVS_EXECUTABLE:STRING=${CVS_EXECUTABLE}" "-DGIT_EXECUTABLE:STRING=${GIT_EXECUTABLE}" "-DHOME:STRING=${ENV_HOME}" ) AddCMakeTest(CheckSourceTree "${CheckSourceTree_PreArgs}") -endif(do_cvs_tests OR GIT_EXECUTABLE) +endif() |