summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-07-20 09:15:36 -0400
committerBrad King <brad.king@kitware.com>2016-07-20 09:17:08 -0400
commit7ec32a00d74bca7ff1a4873c8133b4811edc7bba (patch)
tree03b8ca9533f14fb7f61d1c7dd5a7b971b72ab589 /bootstrap
parente9849d35aa612bc49667a9db7dadc30f87653783 (diff)
downloadcmake-7ec32a00d74bca7ff1a4873c8133b4811edc7bba.tar.gz
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 20b64a1d94..742fa2b875 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