diff options
author | Brad King <brad.king@kitware.com> | 2014-10-22 17:37:49 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-10-22 17:37:49 (GMT) |
commit | 44c4fe9ebfbb8eaa5a4a2386973f50b744c91edf (patch) | |
tree | 260a70af62a321afbd28bdcb3bf01c65fbd5e55b /Tests | |
parent | b816563220ef58a1a7cafd04a50319df65cb2f8e (diff) | |
parent | ad984b60edaeac622fd87532899e52a3ff220a70 (diff) | |
download | CMake-44c4fe9ebfbb8eaa5a4a2386973f50b744c91edf.zip CMake-44c4fe9ebfbb8eaa5a4a2386973f50b744c91edf.tar.gz CMake-44c4fe9ebfbb8eaa5a4a2386973f50b744c91edf.tar.bz2 |
Merge topic 'ExternalProject-no-cygwin-hg-on-windows'
ad984b60 Tests/ExternalProject: Skip Windows hg tests with cygwin hg
Diffstat (limited to 'Tests')
-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") |