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

@ -21,10 +21,13 @@ SET(TARGET_H
ReaderWriterCURL.h
)
IF(ZLIB_FOUND)
SET(TARGET_EXTERNAL_LIBRARIES ${CURL_LIBRARY} ${ZLIB_LIBRARY})
IF(ZLIB_FOUND)
SET(TARGET_LIBRARIES_VARS
CURL_LIBRARY
ZLIB_LIBRARY)
ELSE()
SET(TARGET_EXTERNAL_LIBRARIES ${CURL_LIBRARY})
SET(TARGET_LIBRARIES_VARS
CURL_LIBRARY)
ENDIF()
IF(WIN32 OR MINGW)