From b553a1de7fd4e40d789ec7c8032a3ceede432df0 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Tue, 9 Feb 2016 08:22:07 +0000
Subject: [PATCH]

---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5bb163bfc2..9274059b54 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -901,7 +901,7 @@ if(HAVE_SOLVER)
     if(HAVE_METIS)
       add_subdirectory(contrib/taucs)
       include_directories(contrib/taucs/src contrib/taucs/config)
-      if(WIN32)
+      if(WIN32 OR CYGWIN)
         add_definitions(-DOSTYPE_win32)
       elseif(APPLE)
         add_definitions(-DOSTYPE_darwin)
-- 
GitLab