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:
parent
6a73dfc193
commit
31e8e37dbd
@ -22,9 +22,12 @@ SET(TARGET_H
|
||||
)
|
||||
|
||||
IF(ZLIB_FOUND)
|
||||
SET(TARGET_EXTERNAL_LIBRARIES ${CURL_LIBRARY} ${ZLIB_LIBRARY})
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user