summaryrefslogtreecommitdiffstats
path: root/Utilities/cmcurl
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-03-02 15:14:00 (GMT)
committerBrad King <brad.king@kitware.com>2012-03-02 15:15:06 (GMT)
commit2d59c9ab17c4af84ddb09ef7da89a37871d381a7 (patch)
treebe6a396bc69e9b56de737516216b513f2de503fd /Utilities/cmcurl
parent26519d591ea28d3f26f34c625c2d57db6f302d63 (diff)
downloadCMake-2d59c9ab17c4af84ddb09ef7da89a37871d381a7.zip
CMake-2d59c9ab17c4af84ddb09ef7da89a37871d381a7.tar.gz
CMake-2d59c9ab17c4af84ddb09ef7da89a37871d381a7.tar.bz2
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.
Diffstat (limited to 'Utilities/cmcurl')
-rw-r--r--Utilities/cmcurl/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Utilities/cmcurl/CMakeLists.txt b/Utilities/cmcurl/CMakeLists.txt
index 29ce25d6..caa44f1 100644
--- a/Utilities/cmcurl/CMakeLists.txt
+++ b/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.