Hello cmakers, TIFF library optionally depends on JPEG and ZLIB, but the FindTIFF cmake module doesn't seem to handle that. Unfortunately the dependencies may occur in any of the 4 combinations (none, jpeg only, zlib only, or both) See the section titled "Configuring Optional Packages/Support" at http://www.remotesensing.org/libtiff/build.html.
I have come up with a solution, probably not the best way but good for a start. Be kind, this my first-ever attempt at a cmake module ;) -- Csaba
FindTIFF.cmake
Description: Binary data
_______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake