HI Csaba and Luigi,

I've just review Csaba's changes and think I understand their intent.
I've also looked at the LibTIFF website and now know where the story
behind the optional jpeg and zlib depednencies in tiff.

The new FindTIFF.cmake looks it really belongs as modification of
CMake's existing Modules, and that we should already be using
TIFF_LIBRARIES rather than TIFF_LIBRARY in the
src/osgPlugins/tiff/CMakeLists.txt to pick up on such a change.  I've
applied the later change.

I think the right thing to do with the FindTIFF.cmake changes is to
send them to the CMake dev team with an explanation about the optional
linking and link to the libtiff explanation on build:

   http://www.remotesensing.org/libtiff/build.html

It might be that the CMake team would have a better solution to this
type of problem, but even if they don't this problem will afflict
other libtiff/CMake users in the same way that it's effected you guys
so we'd be helping far more people in this change.  Csaba could you
post your LibTIFF.cmake to the Cmake team and let us know what
happens.

Cheers,
Robert.

On Sun, Nov 2, 2008 at 6:19 PM, Csaba Halász <[EMAIL PROTECTED]> wrote:
> Hi for the last time today,
> TIFF library optionally depends on JPEG and ZLIB, but the build system
> doesn't handle that.
> Don't know if this is the best way to handle it, but wanted to post
> something so the issue doesn't get forgotten.
> Be kind, this my first-ever attempt at a cmake module ;)
>
> --
> Csaba
>
> _______________________________________________
> 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