diff options
author | Brad King <brad.king@kitware.com> | 2014-10-22 17:39:38 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-10-22 17:39:38 (GMT) |
commit | b6a20690bc1140c4fe80255c5b7c436690bb0d41 (patch) | |
tree | fa1d6e787ec622f200b7425e3720a34a8d242028 | |
parent | f18dbfee5c49279120104fb0bf665ccdae928184 (diff) | |
parent | ad984b60edaeac622fd87532899e52a3ff220a70 (diff) | |
download | CMake-b6a20690bc1140c4fe80255c5b7c436690bb0d41.zip CMake-b6a20690bc1140c4fe80255c5b7c436690bb0d41.tar.gz CMake-b6a20690bc1140c4fe80255c5b7c436690bb0d41.tar.bz2 |
Merge branch 'ExternalProject-no-cygwin-hg-on-windows' into release
-rw-r--r-- | Tests/ExternalProject/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/ExternalProject/CMakeLists.txt b/Tests/ExternalProject/CMakeLists.txt index 2f74121..d2fa86a 100644 --- a/Tests/ExternalProject/CMakeLists.txt +++ b/Tests/ExternalProject/CMakeLists.txt @@ -372,6 +372,13 @@ if(HG_EXECUTABLE) set(do_hg_tests 1) 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) set(local_hg_repo "../../LocalRepositories/HG") |