summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r--Source/cmSystemTools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index a3221c0..284f5f5 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -125,7 +125,7 @@ void cmSystemTools::GetPath(std::vector<std::string>& path)
const char* cmSystemTools::GetExecutableExtension()
{
-#if defined(_WIN32)
+#if defined(_WIN32) || defined(__CYGWIN__)
return ".exe";
#else
return "";