瀏覽代碼

Try to fix cygwin build

Andy Cedilnik 23 年之前
父節點
當前提交
64f6711e1c
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      Source/CTest/Curl/Platforms/WindowsCache.cmake

+ 3 - 1
Source/CTest/Curl/Platforms/WindowsCache.cmake

@@ -1,3 +1,4 @@
+IF(NOT UNIX)
 IF(WIN32)
 IF(WIN32)
   SET(HAVE_LIBWINMM 1)
   SET(HAVE_LIBWINMM 1)
   SET(HAVE_LIBWS2_32 1)
   SET(HAVE_LIBWS2_32 1)
@@ -106,4 +107,5 @@ IF(WIN32)
 
 
 ELSE(WIN32)
 ELSE(WIN32)
   MESSAGE("This file should be included on Windows platform only")
   MESSAGE("This file should be included on Windows platform only")
-ENDIF(WIN32)
+ENDIF(WIN32)
+ENDIF(NOT UNIX)