Hi Laurens,

On 16 March 2015 at 08:55, Voerman, L. <[email protected]> wrote:

> Hi Robert,
> removing ZLIB_LIBRARY was a mistake, zlib is used in openExr.
>
> I do add the debug libraries to cmake, but cannot get the debug libraries
> to be used by the linker unless this modification to the cmake files is
> made. This seemed to be in line with the other plugins,
> using TARGET_LIBRARIES_VARS instead of TARGET_EXTERNAL_LIBRARIES. Should I
> provide a modified FindOpenEXR.cmake as well?
>


Sorry for the slow reply, been busy on client work.

I feel that ideally the FindOpenEXR.cmake  would find the debug and release
versions of the libraries, rather than have end users need to adjust
library names manually for release vs debug builds.  I have to admit to not
being a Cmake expert though.

Robert.
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to