diff options
author | David Cole <david.cole@kitware.com> | 2009-07-24 22:30:00 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2009-07-24 22:30:00 (GMT) |
commit | c84255d7038a4aeec18a18c169fa96f3eb997eec (patch) | |
tree | 50a1084de3344f42925bcd641be76dc2aa2a0c60 /Tests | |
parent | 7b299306fd83d1a9a5089f4bede1affb7e300996 (diff) | |
download | CMake-c84255d7038a4aeec18a18c169fa96f3eb997eec.zip CMake-c84255d7038a4aeec18a18c169fa96f3eb997eec.tar.gz CMake-c84255d7038a4aeec18a18c169fa96f3eb997eec.tar.bz2 |
BUG: One last attempt for today to get the new CheckSourceTree test running on dashboards driven by CMake 2.4... Good night now.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/CMakeLists.txt | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index 9cc3824..a2cfa20 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -43,12 +43,14 @@ IF(BUILD_TESTING) if(EXISTS ${CMAKE_ROOT}/Modules/FindCVS.cmake) find_package(CVS QUIET) - - if(CVS_EXECUTABLE) - set(do_cvs_tests 1) - endif(CVS_EXECUTABLE) + else(EXISTS ${CMAKE_ROOT}/Modules/FindCVS.cmake) + find_program(CVS_EXECUTABLE NAMES cvs) endif(EXISTS ${CMAKE_ROOT}/Modules/FindCVS.cmake) + if(CVS_EXECUTABLE) + set(do_cvs_tests 1) + endif(CVS_EXECUTABLE) + if(do_cvs_tests AND NOT UNIX) if("${CVS_EXECUTABLE}" MATCHES "cygwin") set(do_cvs_tests 0) |