Merge branch 'ExternalProject-no-cygwin-hg-on-windows' into release

This commit is contained in:
Brad King 2014-10-22 13:39:38 -04:00
commit b6a20690bc
1 changed files with 7 additions and 0 deletions

View File

@ -372,6 +372,13 @@ if(HG_EXECUTABLE)
set(do_hg_tests 1) set(do_hg_tests 1)
endif() endif()
if(do_hg_tests AND NOT UNIX)
if("${HG_EXECUTABLE}" MATCHES "cygwin")
message(STATUS "No ExternalProject hg tests with cygwin hg outside cygwin!")
set(do_hg_tests 0)
endif()
endif()
if(do_hg_tests) if(do_hg_tests)
set(local_hg_repo "../../LocalRepositories/HG") set(local_hg_repo "../../LocalRepositories/HG")