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,11 +43,13 @@ IF(BUILD_TESTING)
if(EXISTS ${CMAKE_ROOT}/Modules/FindCVS.cmake)
find_package(CVS QUIET)
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)
endif(EXISTS ${CMAKE_ROOT}/Modules/FindCVS.cmake)
if(do_cvs_tests AND NOT UNIX)
if("${CVS_EXECUTABLE}" MATCHES "cygwin")