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,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")
|
||||
|
|
Loading…
Reference in New Issue