mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-09 23:30:35 -06:00
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.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user