BUG: One last attempt for today to get the new CheckSourceTree test running on dashboards driven by CMake 2.4... Good night now.

This commit is contained in:
David Cole 2009-07-24 18:30:00 -04:00
parent 7b299306fd
commit c84255d703
1 changed files with 6 additions and 4 deletions

View File

@ -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)