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:
parent
7b299306fd
commit
c84255d703
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue