Show
Ignore:
Timestamp:
04/20/10 13:23:08 (5 years ago)
Author:
robert
Message:

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."

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgPlugins/curl/CMakeLists.txt

    r10963 r11349  
    2222) 
    2323 
    24 IF(ZLIB_FOUND) 
    25     SET(TARGET_EXTERNAL_LIBRARIES ${CURL_LIBRARY} ${ZLIB_LIBRARY}) 
     24IF(ZLIB_FOUND)    
     25    SET(TARGET_LIBRARIES_VARS 
     26        CURL_LIBRARY 
     27        ZLIB_LIBRARY) 
    2628ELSE() 
    27     SET(TARGET_EXTERNAL_LIBRARIES ${CURL_LIBRARY}) 
     29    SET(TARGET_LIBRARIES_VARS 
     30        CURL_LIBRARY) 
    2831ENDIF() 
    2932