Browse Source

cmcurl: Do not hard-coded Windows check results for MinGW (#13001)

The WindowsCache.cmake file hard-codes results for MS and similar
Windows toolchains.  They are not valid for MinGW tools and also
interfere with cmlibarchive checks.  Allow the checks to run.
Brad King 13 years ago
parent
commit
2d59c9ab17
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Utilities/cmcurl/CMakeLists.txt

+ 2 - 2
Utilities/cmcurl/CMakeLists.txt

@@ -126,9 +126,9 @@ IF(CURL_MALLOC_DEBUG)
 ENDIF(CURL_MALLOC_DEBUG)
 
 # On windows preload settings
-IF(WIN32)
+IF(WIN32 AND NOT MINGW)
   INCLUDE(${LIBCURL_SOURCE_DIR}/Platforms/WindowsCache.cmake)
-ENDIF(WIN32)
+ENDIF()
 
 # This macro checks if the symbol exists in the library and if it
 # does, it appends library to the list.