Hi Frederic,
I had the feeling that hardwiring the dependencies is not the smartest thing to
do. However, the computed dependencies currently don't work, and there seem to
be no debug equivalent to TIFF_LIBRARIES. Maybe someone could point a CMake
newbie to the area that need attention to fix this real problem.
You'd basically want to modify the FindTIFF.cmake module located in your
CMake installation, for example for me on Windows it's in:
...\CMake 2.6\share\cmake-2.6\Modules
I think your modifications should attempt to detect the library version
and only add the dependencies for the versions that need it.
Then you'd submit your modified FindTIFF.cmake to the CMake development
team (I assume their mailing list will be a good place to ask about how
to do that).
As for the release/debug thing, since LibTIFF is a C only library it
doesn't make any difference, except if you want to debug into LibTIFF's
code from your application (i.e. place breakpoints etc). I doubt you'll
want to do that while developing OSG code, as reading tiff files is
pretty low-level and should be fairly mature. So OSG should always link
to the release LibTIFF. If that's not the case then you can submit that
change here.
Hope that helps,
J-S
--
______________________________________________________
Jean-Sebastien Guay [email protected]
http://www.cm-labs.com/
http://whitestar02.webhop.org/
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org