summaryrefslogtreecommitdiffstats
path: root/bootstrap
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-07-20 13:15:36 (GMT)
committerBrad King <brad.king@kitware.com>2016-07-20 13:17:08 (GMT)
commit7ec32a00d74bca7ff1a4873c8133b4811edc7bba (patch)
tree03b8ca9533f14fb7f61d1c7dd5a7b971b72ab589 /bootstrap
parente9849d35aa612bc49667a9db7dadc30f87653783 (diff)
downloadCMake-7ec32a00d74bca7ff1a4873c8133b4811edc7bba.zip
CMake-7ec32a00d74bca7ff1a4873c8133b4811edc7bba.tar.gz
CMake-7ec32a00d74bca7ff1a4873c8133b4811edc7bba.tar.bz2
bootstrap: Add support for MSYS2
Bootstrapping under MSYS2 is the same as under MSYS/MinGW except that `uname` reports `MSYS...` instead of `MINGW...`.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap b/bootstrap
index 20b64a1..742fa2b 100755
--- a/bootstrap
+++ b/bootstrap
@@ -90,7 +90,7 @@ else
fi
# Determine whether this is a MinGW environment.
-if echo "${cmake_system}" | grep MINGW >/dev/null 2>&1; then
+if echo "${cmake_system}" | grep 'MINGW\|MSYS' >/dev/null 2>&1; then
cmake_system_mingw=true
else
cmake_system_mingw=false