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
@ -21,10 +21,13 @@ SET(TARGET_H
|
|||||||
ReaderWriterCURL.h
|
ReaderWriterCURL.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)
|
||||||
|
Loading…
Reference in New Issue
Block a user