Hi,

On Windows platform, the OSG 3.2.1 OpenEXR plug-in incorrectly links
against both the Debug and Release version of zlib[d].lib in Debug
target.

Looking at src\osgPlugins\exr\CMakeLists.txt, shouldn't the directive
at ln. 5 simply read:

    SET(TARGET_EXTERNAL_LIBRARIES ${OPENEXR_LIBRARIES})

rather than:

    SET(TARGET_EXTERNAL_LIBRARIES ${OPENEXR_LIBRARIES} ${ZLIB_LIBRARY} )

SETUP_PLUGIN seems to already add the correct zlib[d].lib dependence.

Regards,

     Émeric
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to