Thanks Laurens, changes now merged with OSG svn/trunk. Cheers, Robert.

On 9 April 2015 at 09:24, Voerman, L. <[email protected]> wrote:

> Hi Robbert,
> attached is a zip with the files:
>
> OpenSceneGraph\src\osgPlugins\exr\CMakeLists.txt
> OpenSceneGraph\CMakeModules\FindOpenEXR.cmake
>
> I have modified the FindOpenEXR.cmake to find the debug libraries, and to
> define a variable
> (OPENEXR_LIBRARIES_VARS) with the variable names that might have a _DEBUG
> version defined.
>
> Regards, Laurens.
>
> On Tue, Apr 7, 2015 at 7:12 PM, Robert Osfield <[email protected]>
> wrote:
>
>> 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
>>
>>
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
>
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to