[CMake] Why dont FindTIFF.cmake and FindJPEG.cmake consider <pkg>_DIR variables?

Kent Williams nkwmailinglists at gmail.com
Fri Feb 15 11:10:09 EST 2013


Are FindTIFF.cmake and FindJPEG.cmake really old and neglected?

Neither seems to bother looking at TIFF_DIR or JPEG_DIR -- you have to  set
TIFF_LIBRARY and TIFF_INCLUDE_DIR (or JPEG_LIBRARY and JPEG_INCLUDE_DIR).

find_package is a great facility but I find myself having to look at the
actual Find<Package>.cmake file when I incorporate a new package to see
what its actual requirements are.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130215/4fc484eb/attachment.htm>


More information about the CMake mailing list