diff options
author | Brad King <brad.king@kitware.com> | 2012-03-02 15:14:00 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-03-02 15:15:06 (GMT) |
commit | 2d59c9ab17c4af84ddb09ef7da89a37871d381a7 (patch) | |
tree | be6a396bc69e9b56de737516216b513f2de503fd /Utilities | |
parent | 26519d591ea28d3f26f34c625c2d57db6f302d63 (diff) | |
download | CMake-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')
-rw-r--r-- | Utilities/cmcurl/CMakeLists.txt | 4 |
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. |