From c5257e6a1aa6e02e3788125716a5e736ff5829c6 Mon Sep 17 00:00:00 2001 From: SSE4 Date: Fri, 27 Apr 2018 14:55:19 +0700 Subject: [PATCH] - conan profile new --detect for MSYS Signed-off-by: SSE4 --- conans/client/conf/detect.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conans/client/conf/detect.py b/conans/client/conf/detect.py index b976d84b043..20f17bac57b 100644 --- a/conans/client/conf/detect.py +++ b/conans/client/conf/detect.py @@ -235,6 +235,10 @@ def detected_os(): return "Macos" if result.startswith("CYGWIN"): return "Windows" + if result.startswith("MINGW32_NT") or result.startswith("MINGW64_NT"): + return "Windows" + if result.startswith("MSYS_NT"): + return "Windows" return result