From Jason Beverage, "Here is a fix to the curl plugin CMake to allow it to link against the

CURL_LIBRARY_DEBUG and ZLIB_LIBRARY_DEBUG.  Previously it linked the
debug version against the release libs, which was causing a hang when
running in debug mode on Windows."
This commit is contained in:
Robert Osfield 2010-04-20 11:23:08 +00:00
parent 6a73dfc193
commit 31e8e37dbd

View File

@ -22,9 +22,12 @@ SET(TARGET_H
) )
IF(ZLIB_FOUND) IF(ZLIB_FOUND)
SET(TARGET_EXTERNAL_LIBRARIES ${CURL_LIBRARY} ${ZLIB_LIBRARY}) SET(TARGET_LIBRARIES_VARS
CURL_LIBRARY
ZLIB_LIBRARY)
ELSE() ELSE()
SET(TARGET_EXTERNAL_LIBRARIES ${CURL_LIBRARY}) SET(TARGET_LIBRARIES_VARS
CURL_LIBRARY)
ENDIF() ENDIF()
IF(WIN32 OR MINGW) IF(WIN32 OR MINGW)