fix mingw32/64 build:

MinGW uses system installed libcurl, rather than libcurl_imp.
This commit is contained in:
John_He 2014-05-29 16:30:00 +08:00
parent a69a98776d
commit 3bf4c5e985
1 changed files with 9 additions and 9 deletions

View File

@ -24,14 +24,14 @@ set(COCOS_NETWORK_SRC
${PLATFORM_SRC}
)
IF ( WIN32 )
set(COCOS_NETWORK_LINK
libcurl_imp
${PLATFORM_LINK}
)
IF (WIN32 AND NOT MINGW)
set(COCOS_NETWORK_LINK
libcurl_imp
${PLATFORM_LINK}
)
ELSE()
set(COCOS_NETWORK_LINK
curl
${PLATFORM_LINK}
)
set(COCOS_NETWORK_LINK
curl
${PLATFORM_LINK}
)
ENDIF()